MediaButtonsConfiguration

@IviExperimental(reasons = [])
class MediaButtonsConfiguration(    val replacedStandardControls: Map<StandardMediaControls, MediaControlFactory>,     val customControls: List<MediaControlFactory>,     val primaryMediaButtonsLimit: Int,     val secondaryMediaButtonsLimit: Int)

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
secondaryMediaButtonsLimit

Constructors

Link copied to clipboard
fun MediaButtonsConfiguration(    replacedStandardControls: Map<StandardMediaControls, MediaControlFactory>,     customControls: List<MediaControlFactory>,     primaryMediaButtonsLimit: Int,     secondaryMediaButtonsLimit: Int)

Properties

Link copied to clipboard
val customControls: List<MediaControlFactory>
Link copied to clipboard
val primaryMediaButtonsLimit: Int
Link copied to clipboard
Link copied to clipboard
val secondaryMediaButtonsLimit: Int