Segments

@Serializable
data class Segments(val configurable: Boolean, val maxSegments: Int, val segmentRanges: List<@Serializable(with = SegmentRangeSerializer::class) IntRange>)

Holds all parameters concerning the segmentation capabilities of a device.

Segmentation allows a device to be divided into multiple independently controllable sections for entertainment purposes.

Constructors

Link copied to clipboard
constructor(configurable: Boolean, maxSegments: Int, segmentRanges: List<@Serializable(with = SegmentRangeSerializer::class) IntRange>)

Properties

Link copied to clipboard

Defines if the segmentation of the device is configurable or not.

Link copied to clipboard
@SerialName(value = "max_segments")
val maxSegments: Int

Maximum number of segments the device supports.

Link copied to clipboard
@SerialName(value = "segments")
val segmentRanges: List<@Serializable(with = SegmentRangeSerializer::class) IntRange>

Contains the segments configuration of the device for entertainment purposes.