Builder

open class Builder

The MediaControllerConfig Builder.

Constructors

Link copied to clipboard
constructor()
Instantiates a new MediaControllerConfig.Builder.

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 setOnTouchListener(onTouchListener: OnTouchListener): MediaControllerConfig.Builder
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
Sets whether the Media Controller will be allowed to be shown when an Ad is playing.