commonMain.org.jellyfin.sdk.model.api.PlayerStateInfo.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jellyfin-model-jvm Show documentation
Show all versions of jellyfin-model-jvm Show documentation
Official Kotlin/Java SDK for Jellyfin. org.jellyfin.sdk:jellyfin-model-jvm
// !! WARNING
// !! DO NOT EDIT THIS FILE
//
// This file is generated by the openapi-generator module and is not meant for manual changes.
// Please read the README.md file in the openapi-generator module for additional information.
package org.jellyfin.sdk.model.api
import kotlin.Boolean
import kotlin.Int
import kotlin.Long
import kotlin.String
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
public data class PlayerStateInfo(
/**
* The now playing position ticks.
*/
@SerialName("PositionTicks")
public val positionTicks: Long? = null,
/**
* A value indicating whether this instance can seek.
*/
@SerialName("CanSeek")
public val canSeek: Boolean,
/**
* A value indicating whether this instance is paused.
*/
@SerialName("IsPaused")
public val isPaused: Boolean,
/**
* A value indicating whether this instance is muted.
*/
@SerialName("IsMuted")
public val isMuted: Boolean,
/**
* The volume level.
*/
@SerialName("VolumeLevel")
public val volumeLevel: Int? = null,
/**
* The index of the now playing audio stream.
*/
@SerialName("AudioStreamIndex")
public val audioStreamIndex: Int? = null,
/**
* The index of the now playing subtitle stream.
*/
@SerialName("SubtitleStreamIndex")
public val subtitleStreamIndex: Int? = null,
/**
* The now playing media version identifier.
*/
@SerialName("MediaSourceId")
public val mediaSourceId: String? = null,
/**
* The play method.
*/
@SerialName("PlayMethod")
public val playMethod: PlayMethod? = null,
/**
* The repeat mode.
*/
@SerialName("RepeatMode")
public val repeatMode: RepeatMode,
/**
* The playback order.
*/
@SerialName("PlaybackOrder")
public val playbackOrder: PlaybackOrder,
/**
* The now playing live stream identifier.
*/
@SerialName("LiveStreamId")
public val liveStreamId: String? = null,
)