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()
:
void
Instance Methods
Defined in: com.google.ads.studio:EnabledComponent
getEnabler()
:
Object
isInitialized()
:
Boolean
Returns whether the component has initialized.
Defined in: com.google.ads.studio.video:AbstractVideoControl
getVideoPlayerSearchContainer()
:
DisplayObjectContainer
Gets the scope of where to begin our video player search.
setEnabled(enabled:Boolean)
:
void
Sets the enabled state of the video control.
componentButtonInstance.setEnabled(true); // componentButtonInstance.setEnabled(false);
setVideoPlayerSearchContainer(scope:flash.display:DisplayObjectContainer)
:
void
Sets the scope of where to begin our video player search.
Defined in com.google.ads.studio.video:SoundToggleButton
setEnabled(enabled:Boolean)
:
void
Sets the enabled state of the video control.
componentButtonInstance.setEnabled(true); // componentButtonInstance.setEnabled(false);