![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <playstaterequest.h>
Public Member Functions | |
| PlaystateRequest (PlaystateCommand command) | |
| PlaystateRequest (const PlaystateRequest &other) | |
| void | replaceData (PlaystateRequest &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| PlaystateCommand | command () const |
| void | setCommand (PlaystateCommand newCommand) |
| std::optional< qint64 > | seekPositionTicks () const |
| void | setSeekPositionTicks (std::optional< qint64 > newSeekPositionTicks) |
| bool | seekPositionTicksNull () const |
| void | setSeekPositionTicksNull () |
| QString | controllingUserId () const |
| Gets or sets the controlling user identifier. | |
| void | setControllingUserId (QString newControllingUserId) |
| Gets or sets the controlling user identifier. | |
| bool | controllingUserIdNull () const |
| void | setControllingUserIdNull () |
Static Public Member Functions | |
| static PlaystateRequest | fromJson (QJsonObject source) |
Protected Attributes | |
| PlaystateCommand | m_command |
| std::optional< qint64 > | m_seekPositionTicks = std::nullopt |
| QString | m_controllingUserId |
| Jellyfin::DTO::PlaystateRequest::PlaystateRequest | ( | PlaystateCommand | command | ) |
| Jellyfin::DTO::PlaystateRequest::PlaystateRequest | ( | const PlaystateRequest & | other | ) |
| PlaystateCommand Jellyfin::DTO::PlaystateRequest::command | ( | ) | const |
| QString Jellyfin::DTO::PlaystateRequest::controllingUserId | ( | ) | const |
Gets or sets the controlling user identifier.
| bool Jellyfin::DTO::PlaystateRequest::controllingUserIdNull | ( | ) | const |
|
static |
| void Jellyfin::DTO::PlaystateRequest::replaceData | ( | PlaystateRequest & | other | ) |
Replaces the data being hold by this class with that of the other.
| std::optional< qint64 > Jellyfin::DTO::PlaystateRequest::seekPositionTicks | ( | ) | const |
| bool Jellyfin::DTO::PlaystateRequest::seekPositionTicksNull | ( | ) | const |
| void Jellyfin::DTO::PlaystateRequest::setCommand | ( | PlaystateCommand | newCommand | ) |
| void Jellyfin::DTO::PlaystateRequest::setControllingUserId | ( | QString | newControllingUserId | ) |
Gets or sets the controlling user identifier.
| void Jellyfin::DTO::PlaystateRequest::setControllingUserIdNull | ( | ) |
| void Jellyfin::DTO::PlaystateRequest::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::PlaystateRequest::setSeekPositionTicks | ( | std::optional< qint64 > | newSeekPositionTicks | ) |
| void Jellyfin::DTO::PlaystateRequest::setSeekPositionTicksNull | ( | ) |
| QJsonObject Jellyfin::DTO::PlaystateRequest::toJson | ( | ) | const |
|
protected |
|
protected |
|
protected |