PlaybackProgressInfo

@Serializable
data class PlaybackProgressInfo(val canSeek: Boolean, val item: BaseItemDto? = null, val itemId: UUID, val sessionId: String? = null, val mediaSourceId: String? = null, val audioStreamIndex: Int? = null, val subtitleStreamIndex: Int? = null, val isPaused: Boolean, val isMuted: Boolean, val positionTicks: Long? = null, val playbackStartTimeTicks: Long? = null, val volumeLevel: Int? = null, val brightness: Int? = null, val aspectRatio: String? = null, val playMethod: PlayMethod, val liveStreamId: String? = null, val playSessionId: String? = null, val repeatMode: RepeatMode, val playbackOrder: PlaybackOrder, val nowPlayingQueue: List<QueueItem>? = null, val playlistItemId: String? = null)

Class PlaybackProgressInfo.

Constructors

Link copied to clipboard
constructor(canSeek: Boolean, item: BaseItemDto? = null, itemId: UUID, sessionId: String? = null, mediaSourceId: String? = null, audioStreamIndex: Int? = null, subtitleStreamIndex: Int? = null, isPaused: Boolean, isMuted: Boolean, positionTicks: Long? = null, playbackStartTimeTicks: Long? = null, volumeLevel: Int? = null, brightness: Int? = null, aspectRatio: String? = null, playMethod: PlayMethod, liveStreamId: String? = null, playSessionId: String? = null, repeatMode: RepeatMode, playbackOrder: PlaybackOrder, nowPlayingQueue: List<QueueItem>? = null, playlistItemId: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "AspectRatio")
val aspectRatio: String?
Link copied to clipboard
@SerialName(value = "AudioStreamIndex")
val audioStreamIndex: Int?

The index of the audio stream.

Link copied to clipboard
@SerialName(value = "Brightness")
val brightness: Int?
Link copied to clipboard
@SerialName(value = "CanSeek")
val canSeek: Boolean

A value indicating whether this instance can seek.

Link copied to clipboard
@SerialName(value = "IsMuted")
val isMuted: Boolean

A value indicating whether this instance is muted.

Link copied to clipboard
@SerialName(value = "IsPaused")
val isPaused: Boolean

A value indicating whether this instance is paused.

Link copied to clipboard
@SerialName(value = "Item")
val item: BaseItemDto?

The item.

Link copied to clipboard
@SerialName(value = "ItemId")
val itemId: UUID

The item identifier.

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

The live stream identifier.

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

The media version identifier.

Link copied to clipboard
@SerialName(value = "NowPlayingQueue")
val nowPlayingQueue: List<QueueItem>?
Link copied to clipboard
@SerialName(value = "PlaybackOrder")
val playbackOrder: PlaybackOrder

The playback order.

Link copied to clipboard
@SerialName(value = "PlaybackStartTimeTicks")
val playbackStartTimeTicks: Long?
Link copied to clipboard
@SerialName(value = "PlaylistItemId")
val playlistItemId: String?
Link copied to clipboard
@SerialName(value = "PlayMethod")
val playMethod: PlayMethod

The play method.

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

The play session identifier.

Link copied to clipboard
@SerialName(value = "PositionTicks")
val positionTicks: Long?

The position ticks.

Link copied to clipboard
@SerialName(value = "RepeatMode")
val repeatMode: RepeatMode

The repeat mode.

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

The session id.

Link copied to clipboard
@SerialName(value = "SubtitleStreamIndex")
val subtitleStreamIndex: Int?

The index of the subtitle stream.

Link copied to clipboard
@SerialName(value = "VolumeLevel")
val volumeLevel: Int?

The volume level.