PlaybackInfoResponse

@Serializable
data class PlaybackInfoResponse(val mediaSources: List<MediaSourceInfo>, val playSessionId: String? = null, val errorCode: PlaybackErrorCode? = null)

Class PlaybackInfoResponse.

Constructors

Link copied to clipboard
constructor(mediaSources: List<MediaSourceInfo>, playSessionId: String? = null, errorCode: PlaybackErrorCode? = null)

Properties

Link copied to clipboard
@SerialName(value = "ErrorCode")
val errorCode: PlaybackErrorCode?

The error code.

Link copied to clipboard
@SerialName(value = "MediaSources")
val mediaSources: List<MediaSourceInfo>

The media sources.

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

The play session identifier.