class com.google.ads.studio.video.SoundToggleButton
This component shows a mute button when the audio is on and a unmute button when the audio is off.
Events
| Name | Type | Description |
|---|---|---|
INIT | com.google.ads.studio.events.StudioEvent | Dispatched when a valid video player has been found. |
Constructors
SoundToggleButton()
:
voidInstance Methods
Defined in: com.google.ads.studio:EnabledComponent
getEnabler()
:
ObjectisInitialized()
:
BooleanReturns whether the component has initialized.
Defined in: com.google.ads.studio.video:AbstractVideoControl
getVideoPlayerSearchContainer()
:
DisplayObjectContainerGets the scope of where to begin our video player search.
setEnabled(enabled:Boolean)
:
voidSets the enabled state of the video control.
componentButtonInstance.setEnabled(true);
// componentButtonInstance.setEnabled(false);
setVideoPlayerSearchContainer(scope:flash.display:DisplayObjectContainer)
:
voidSets the scope of where to begin our video player search.
Defined in com.google.ads.studio.video:SoundToggleButton
setEnabled(enabled:Boolean)
:
voidSets the enabled state of the video control.
componentButtonInstance.setEnabled(true);
// componentButtonInstance.setEnabled(false);