public final class MediaControllerConfig
extends java.lang.Object
BrightcoveMediaController
.Modifier and Type | Class and Description |
---|---|
static class |
MediaControllerConfig.Builder
The MediaControllerConfig Builder.
|
Modifier and Type | Method and Description |
---|---|
int |
getInitialDuration()
Gets the initial duration value in milliseconds.
|
int |
getInitialPlayheadPosition()
Gets the initial playhead position value in milliseconds.
|
int |
getLayoutId()
Gets the resource layout id.
|
MediaControllerKeyDispatcher |
getMediaControllerKeyDispatcher()
Gets the
MediaControllerKeyDispatcher . |
android.view.View.OnTouchListener |
getOnTouchListener()
Gets the on touch listener.
|
boolean |
isShowControlsOnCreation()
Returns whether the Media Controller will be shown when the controller is created.
|
boolean |
isShowControlsWhenAdIsPlaying()
Gets whether the Media Controller will be allowed to be shown when an Ad is playing.
|
public int getLayoutId()
The default value is -1, which will be ignored
by the BrightcoveMediaController
.
@Nullable public android.view.View.OnTouchListener getOnTouchListener()
The default value is null, which will be ignored
by the BrightcoveMediaController
.
public int getInitialDuration()
The default value is -1, which will be ignored
by the BrightcoveMediaController
.
public int getInitialPlayheadPosition()
The default value is -1, which will be ignored
by the BrightcoveMediaController
.
public boolean isShowControlsOnCreation()
public boolean isShowControlsWhenAdIsPlaying()
@Nullable public MediaControllerKeyDispatcher getMediaControllerKeyDispatcher()
MediaControllerKeyDispatcher
.