public class BrightcovePlayerOptionsManager
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
android.widget.RadioGroup |
getAudioTracksGroup()
Gets audio tracks group.
|
android.widget.TextView |
getAudioTracksTitle()
Gets the audio tracks title.
|
android.widget.RadioGroup |
getCaptionsGroup()
Gets the captions group.
|
android.widget.TextView |
getCaptionsTitle()
Gets the captions title.
|
static BrightcovePlayerOptionsManager |
getInstance()
Method that returns the singleton instance
|
android.view.View |
getPlayerOptionsView()
Gets the player options menu view.
|
void |
hideAudioTracksOptions()
Hide the audio tracks options.
|
void |
hideCaptionsOptions()
Hide the captions options.
|
void |
hidePlayerOptions(EventEmitter eventEmitter)
Hide the player options menu.
|
android.view.View |
initPlayerOptions(android.view.ViewGroup root)
Initializes the player options menu and will add it to the ViewGroup provided.
|
boolean |
isAudioTracksVisible()
Tells you whether the audio tracks is visible or not.
|
boolean |
isCaptionsVisible()
Tells you whether the captions is visible or not.
|
boolean |
isPlayerOptionsVisible()
Tells you whether the player options menu is visible or not.
|
void |
showAudioTracksOptions()
Show the audio tracks options.
|
void |
showCaptionsOptions()
Show the captions options.
|
void |
showPlayerOptions(EventEmitter eventEmitter)
Show the player options menu.
|
public static BrightcovePlayerOptionsManager getInstance()
public android.view.View initPlayerOptions(android.view.ViewGroup root)
root
- the view root where the player options menur will be added topublic boolean isPlayerOptionsVisible()
public void showPlayerOptions(EventEmitter eventEmitter)
eventEmitter
- the event emitterpublic void hidePlayerOptions(EventEmitter eventEmitter)
eventEmitter
- the event emitterpublic boolean isAudioTracksVisible()
public void hideAudioTracksOptions()
public void showAudioTracksOptions()
public boolean isCaptionsVisible()
public void hideCaptionsOptions()
public void showCaptionsOptions()
public android.view.View getPlayerOptionsView()
public android.widget.TextView getAudioTracksTitle()
public android.widget.RadioGroup getAudioTracksGroup()
public android.widget.TextView getCaptionsTitle()
public android.widget.RadioGroup getCaptionsGroup()