postCapabilities

suspend fun postCapabilities(id: String? = null, playableMediaTypes: Collection<ERROR CLASS: Symbol not found for MediaType>? = emptyList(), supportedCommands: Collection<ERROR CLASS: Symbol not found for GeneralCommandType>? = 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: Symbol not found for PostCapabilitiesRequest = PostCapabilitiesRequest()): Response<Unit>

Updates capabilities for a device.

Parameters

request

The request parameters