MediaControlPolicy

interface MediaControlPolicy

The policy that configures the available media controls. A media control is a visual control for a media-related command; see MediaControl.

Adding a custom media control can be done in customControls, replacing a standard control can be done using replacedStandardControls.

The maximum number of displayed media controls is set using mediaControlsDisplayLimit.

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.

Inheritors

Link copied to clipboard