Package org.openhab.core.sitemap
Interface Video
- All Superinterfaces:
NonLinkableWidget,Widget
A representation of a sitemap Video widget.
- Author:
- Mark Herwege - Initial contribution
-
Method Summary
Modifier and TypeMethodDescription@Nullable StringGet the configured video encoding.getUrl()Get the url of the video.voidsetEncoding(@Nullable String encoding) Set the video encoding.voidSet the url of the video.Methods inherited from interface org.openhab.core.sitemap.Widget
getIcon, getIconColor, getIconRules, getItem, getLabel, getLabelColor, getParent, getValueColor, getVisibility, getWidgetType, isStaticIcon, setIcon, setIconColor, setIconRules, setItem, setLabel, setLabelColor, setParent, setStaticIcon, setValueColor, setVisibility
-
Method Details
-
getUrl
String getUrl()Get the url of the video.- Returns:
- url
-
setUrl
Set the url of the video.- Parameters:
url-
-
getEncoding
@Nullable String getEncoding()Get the configured video encoding.- Returns:
- encoding, null if no encoding is configured
-
setEncoding
Set the video encoding.- Parameters:
encoding-
-