Controls class
- Annotations
-
- @JS('Controls')
Constructors
- Controls(PlayerJS player, Element videoContainer, MediaElement video, UIConfiguration config)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
allowCast(
bool allow) → void -
anySettingsMenusAreOpen(
) → bool -
configure(
UIConfiguration config) → void -
destroy(
) → Future -
getAd(
) → void -
getCastProxy(
) → void -
getClientSideAdContainer(
) → Element -
getConfig(
) → UIConfiguration -
getControlsContainer(
) → Element -
getDisplayTime(
) → num -
getLocalization(
) → void -
getLocalPlayer(
) → PlayerJS -
getLocalVideo(
) → MediaElement -
getPlayer(
) → PlayerJS -
getServerSideAdContainer(
) → Element -
getVideo(
) → MediaElement -
getVideoContainer(
) → Element -
hideAdUI(
) → void -
hideSettingsMenus(
) → void -
isCastAllowed(
) → bool -
isFullScreenEnabled(
) → bool -
isFullScreenSupported(
) → bool -
isOpaque(
) → bool -
isSeeking(
) → bool -
loadComplete(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerElement(
String name, JsFunction factory) → void - factory is JsFunction of shaka.extern.IUISeekBar.Factory;
-
registerSeekBar(
dynamic factory) → void -
setEnabledNativeControls(
bool enabled) → void -
setEnabledShakaControls(
bool enabled) → void -
setLastTouchEventTime(
num time) → void -
setSeeking(
bool seeking) → void -
showAdUI(
) → void -
toggleFullScreen(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited