Factory

Creates a PlayPauseMediaControl, to allow switching between paused and playing state.

Properties

Link copied to clipboard
open override val priority: MediaControlPriority

The priority of the media control created by this factory. If the number of controls is limited, priority is used to determine which controls are displayed.

Functions

Link copied to clipboard
open override fun createControlFor(mediaControlContext: MediaControlContext): MediaControl

Creates a MediaControl for the given mediaControlContext. The context can be used to determine any of the properties of a MediaControl, or when the control is launched.