MediaControlsDisplayLimit

@IviExperimental(reasons = [])
data class MediaControlsDisplayLimit(    val primaryControlsSmallLimit: Int = 3,     val secondaryControlsSmallLimit: Int = 2,     val primaryControlsMediumLimit: Int = 3,     val secondaryControlsMediumLimit: Int = 3,     val primaryControlsLargeLimit: Int = 4,     val secondaryControlsLargeLimit: Int = 5)

The maximum numbers of media controls to display based on the available space.

The limits are grouped into:

See MediaButtonsViewModel.primaryButtons and MediaButtonsViewModel.secondaryButtons for an explanation of the concept of primary and secondary controls.

See MediaButtonsViewModel and MediaControlPriority for more information about the media controls filtering mechanism.

Constructors

Link copied to clipboard
fun MediaControlsDisplayLimit(    primaryControlsSmallLimit: Int = 3,     secondaryControlsSmallLimit: Int = 2,     primaryControlsMediumLimit: Int = 3,     secondaryControlsMediumLimit: Int = 3,     primaryControlsLargeLimit: Int = 4,     secondaryControlsLargeLimit: Int = 5)

Properties

Link copied to clipboard
val primaryControlsLargeLimit: Int = 4
Link copied to clipboard
val primaryControlsMediumLimit: Int = 3
Link copied to clipboard
val primaryControlsSmallLimit: Int = 3
Link copied to clipboard
val secondaryControlsLargeLimit: Int = 5
Link copied to clipboard
val secondaryControlsMediumLimit: Int = 3
Link copied to clipboard
val secondaryControlsSmallLimit: Int = 2