Builder
The MediaControllerConfig Builder.
Constructors
Functions
Link copied to clipboard
Builds the MediaControllerConfig.
Link copied to clipboard
Deprecated.
Sets the initial duration value in milliseconds.
Link copied to clipboard
Deprecated.
Sets the initial playhead position value in milliseconds.
Link copied to clipboard
Sets the resource layout id.
Link copied to clipboard
open fun setMediaControllerKeyDispatcher(mediaControllerKeyDispatcher: MediaControllerKeyDispatcher): MediaControllerConfig.Builder
Sets the MediaControllerKeyDispatcher.
Link copied to clipboard
Sets on touch listener.
Link copied to clipboard
Sets whether the Media Controller will be shown when the controller is created.
Link copied to clipboard
open fun setShowControlsWhenAdIsPlaying(showControlsWhenAdIsPlaying: Boolean): MediaControllerConfig.Builder
Sets whether the Media Controller will be allowed to be shown when an Ad is playing.