PostCapabilitiesRequest

@Serializable
data class PostCapabilitiesRequest(val id: String? = null, val playableMediaTypes: Collection<MediaType>? = null, val supportedCommands: Collection<GeneralCommandType>? = null, val supportsMediaControl: Boolean? = false, val supportsPersistentIdentifier: Boolean? = true)

Updates capabilities for a device.

Constructors

Link copied to clipboard
constructor(id: String? = null, playableMediaTypes: Collection<MediaType>? = null, supportedCommands: Collection<GeneralCommandType>? = null, supportsMediaControl: Boolean? = false, supportsPersistentIdentifier: Boolean? = true)

Properties

Link copied to clipboard
@SerialName(value = "id")
val id: String?

The session id.

Link copied to clipboard
@SerialName(value = "playableMediaTypes")
val playableMediaTypes: Collection<MediaType>?

A list of playable media types, comma delimited. Audio, Video, Book, Photo.

Link copied to clipboard
@SerialName(value = "supportedCommands")
val supportedCommands: Collection<GeneralCommandType>?

A list of supported remote control commands, comma delimited.

Link copied to clipboard
@SerialName(value = "supportsMediaControl")
val supportsMediaControl: Boolean?

Determines whether media can be played remotely..

Link copied to clipboard
@SerialName(value = "supportsPersistentIdentifier")
val supportsPersistentIdentifier: Boolean?

Determines whether the device supports a unique identifier.