DefaultMediaControlPolicy

class DefaultMediaControlPolicy : MediaControlPolicy

The default policy for configuring media controls. It does not add any customControls, nor does it override any controls in replacedStandardControls.

Constructors

Link copied to clipboard
fun DefaultMediaControlPolicy()

Inherited properties

Link copied to clipboard
open val customControls: List<MediaControlFactory>

Custom media controls in addition to the standard media controls.

Link copied to clipboard
open val mediaControlsDisplayLimit: MediaControlsDisplayLimit

The maximum number of media controls to display, based on the available space.

Link copied to clipboard

Maps StandardMediaControls to the factory that will be used to create the control.