Entertainment

@Serializable
data class Entertainment(val id: ResourceId, val owner: ResourceReference, val renderer: Boolean, val rendererReference: ResourceReference? = null, val proxy: Boolean, val equalizer: Boolean, val maxStreams: Int? = null, val segments: Segments? = null)

State and capabilities of an entertainment resource.

Entertainment resources represent the entertainment streaming capabilities of a light or device in the Hue system.

Constructors

Link copied to clipboard
constructor(id: ResourceId, owner: ResourceReference, renderer: Boolean, rendererReference: ResourceReference? = null, proxy: Boolean, equalizer: Boolean, maxStreams: Int? = null, segments: Segments? = null)

Properties

Link copied to clipboard

Indicates if a lamp can handle the equalization factor to dimming maximum brightness in a stream.

Link copied to clipboard

Unique identifier representing a specific entertainment resource instance.

Link copied to clipboard
@SerialName(value = "max_streams")
val maxStreams: Int?

Indicates the maximum number of parallel streaming sessions the bridge supports.

Link copied to clipboard

Owner of the service.

Link copied to clipboard

Indicates if a lamp can be used for entertainment streaming as a proxy node.

Link copied to clipboard

Indicates if a lamp can be used for entertainment streaming as a renderer.

Link copied to clipboard
@SerialName(value = "renderer_reference")
val rendererReference: ResourceReference?

Indicates which light service is linked to this entertainment service.

Link copied to clipboard

Holds all parameters concerning the segmentation capabilities of a device.