postCapabilities
suspend fun postCapabilities(id: String? = null, playableMediaTypes: Collection<<Error class: unknown class>>? = emptyList(), supportedCommands: Collection<<Error class: unknown class>>? = emptyList(), supportsMediaControl: Boolean? = false, supportsPersistentIdentifier: Boolean? = true): Response<Unit>
Updates capabilities for a device.
Parameters
id
The session id.
playableMediaTypes
A list of playable media types, comma delimited. Audio, Video, Book, Photo.
supportedCommands
A list of supported remote control commands, comma delimited.
supportsMediaControl
Determines whether media can be played remotely..
supportsPersistentIdentifier
Determines whether the device supports a unique identifier.
suspend fun postCapabilities(request: <Error class: unknown class> = PostCapabilitiesRequest()): Response<Unit>
Updates capabilities for a device.
Parameters
request
The request parameters