MediaControlPolicy

@IviExperimental(reasons = [])
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.

Inheritors

Properties

Link copied to clipboard

Custom media controls in addition to the standard media controls. If this is null, the original custom controls provided by the source will be used. Otherwise, it replaces all the custom controls of the source.

Link copied to clipboard

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.