30#ifndef JELLYFIN_DTO_PLAYERSTATEINFO_H
31#define JELLYFIN_DTO_PLAYERSTATEINFO_H
69 QJsonObject
toJson()
const;
Value
Definition playmethod.h:49
Definition playerstateinfo.h:50
bool isPaused() const
Gets or sets a value indicating whether this instance is paused.
Definition playerstateinfo.cpp:154
void setVolumeLevel(std::optional< qint32 > newVolumeLevel)
Gets or sets the volume level.
Definition playerstateinfo.cpp:168
PlayMethod playMethod() const
Definition playerstateinfo.cpp:218
QString mediaSourceId() const
Gets or sets the now playing media version identifier.
Definition playerstateinfo.cpp:205
void setAudioStreamIndexNull()
Definition playerstateinfo.cpp:188
std::optional< qint64 > m_positionTicks
Definition playerstateinfo.h:166
void setCanSeek(bool newCanSeek)
Gets or sets a value indicating whether this instance can seek.
Definition playerstateinfo.cpp:150
void setVolumeLevelNull()
Definition playerstateinfo.cpp:175
void setMediaSourceId(QString newMediaSourceId)
Gets or sets the now playing media version identifier.
Definition playerstateinfo.cpp:207
QJsonObject toJson() const
Definition playerstateinfo.cpp:99
void setIsMuted(bool newIsMuted)
Gets or sets a value indicating whether this instance is muted.
Definition playerstateinfo.cpp:162
bool audioStreamIndexNull() const
Definition playerstateinfo.cpp:184
std::optional< qint32 > m_subtitleStreamIndex
Definition playerstateinfo.h:172
std::optional< qint32 > subtitleStreamIndex() const
Gets or sets the index of the now playing subtitle stream.
Definition playerstateinfo.cpp:192
void setSubtitleStreamIndexNull()
Definition playerstateinfo.cpp:201
bool m_isMuted
Definition playerstateinfo.h:169
bool m_canSeek
Definition playerstateinfo.h:167
void setMediaSourceIdNull()
Definition playerstateinfo.cpp:214
bool positionTicksNull() const
Definition playerstateinfo.cpp:140
bool volumeLevelNull() const
Definition playerstateinfo.cpp:171
void setPositionTicksNull()
Definition playerstateinfo.cpp:144
void setIsPaused(bool newIsPaused)
Gets or sets a value indicating whether this instance is paused.
Definition playerstateinfo.cpp:156
RepeatMode repeatMode() const
Definition playerstateinfo.cpp:224
void setSubtitleStreamIndex(std::optional< qint32 > newSubtitleStreamIndex)
Gets or sets the index of the now playing subtitle stream.
Definition playerstateinfo.cpp:194
bool m_isPaused
Definition playerstateinfo.h:168
QString m_mediaSourceId
Definition playerstateinfo.h:173
std::optional< qint32 > volumeLevel() const
Gets or sets the volume level.
Definition playerstateinfo.cpp:166
void setFromJson(QJsonObject source)
Definition playerstateinfo.cpp:85
bool subtitleStreamIndexNull() const
Definition playerstateinfo.cpp:197
void setPositionTicks(std::optional< qint64 > newPositionTicks)
Gets or sets the now playing position ticks.
Definition playerstateinfo.cpp:137
std::optional< qint64 > positionTicks() const
Gets or sets the now playing position ticks.
Definition playerstateinfo.cpp:135
void setRepeatMode(RepeatMode newRepeatMode)
Definition playerstateinfo.cpp:226
bool isMuted() const
Gets or sets a value indicating whether this instance is muted.
Definition playerstateinfo.cpp:160
std::optional< qint32 > m_audioStreamIndex
Definition playerstateinfo.h:171
bool mediaSourceIdNull() const
Definition playerstateinfo.cpp:210
void setPlayMethod(PlayMethod newPlayMethod)
Definition playerstateinfo.cpp:220
PlayMethod m_playMethod
Definition playerstateinfo.h:174
bool canSeek() const
Gets or sets a value indicating whether this instance can seek.
Definition playerstateinfo.cpp:148
std::optional< qint32 > audioStreamIndex() const
Gets or sets the index of the now playing audio stream.
Definition playerstateinfo.cpp:179
void setAudioStreamIndex(std::optional< qint32 > newAudioStreamIndex)
Gets or sets the index of the now playing audio stream.
Definition playerstateinfo.cpp:181
void replaceData(PlayerStateInfo &other)
Definition playerstateinfo.cpp:65
std::optional< qint32 > m_volumeLevel
Definition playerstateinfo.h:170
RepeatMode m_repeatMode
Definition playerstateinfo.h:175
static PlayerStateInfo fromJson(QJsonObject source)
Definition playerstateinfo.cpp:78
Value
Definition repeatmode.h:49
AccessSchedule fromJsonValue(const QJsonValue &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:133
QJsonValue toJsonValue(const AccessSchedule &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:139
Definition jsonconvimpl.h:45