MediaButtonsConfiguration
class MediaButtonsConfiguration( val replacedStandardControls: Map<StandardMediaControls, MediaControlFactory>, val customControls: List<MediaControlFactory>, val primaryMediaButtonsLimit: Int, val secondaryMediaButtonsLimit: Int)
Content copied to clipboard
Configuration of media controls given to a MediaButtonsViewModel. Could be created from a MediaControlPolicy.
Parameters
replacedStandardControls
Customized standard media controls. See also: MediaControlPolicy.replacedStandardControls.
customControls
Custom media controls. See also: MediaControlPolicy.customControls.
primaryMediaButtonsLimit
Maximum number of MediaButtonsViewModel.primaryButtons.
secondaryMediaButtonsLimit
Maximum number of MediaButtonsViewModel.secondaryButtons.
Constructors
Link copied to clipboard
fun MediaButtonsConfiguration( replacedStandardControls: Map<StandardMediaControls, MediaControlFactory>, customControls: List<MediaControlFactory>, primaryMediaButtonsLimit: Int, secondaryMediaButtonsLimit: Int)
Content copied to clipboard
Properties
Link copied to clipboard
val replacedStandardControls: Map<StandardMediaControls, MediaControlFactory>
Content copied to clipboard