![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <playrequest.h>
Public Member Functions | |
| PlayRequest (PlayCommand playCommand, QString controllingUserId) | |
| PlayRequest (const PlayRequest &other) | |
| void | replaceData (PlayRequest &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| QStringList | itemIds () const |
| Gets or sets the item ids. | |
| void | setItemIds (QStringList newItemIds) |
| Gets or sets the item ids. | |
| bool | itemIdsNull () const |
| void | setItemIdsNull () |
| std::optional< qint64 > | startPositionTicks () const |
| Gets or sets the start position ticks that the first item should be played at. | |
| void | setStartPositionTicks (std::optional< qint64 > newStartPositionTicks) |
| Gets or sets the start position ticks that the first item should be played at. | |
| bool | startPositionTicksNull () const |
| void | setStartPositionTicksNull () |
| PlayCommand | playCommand () const |
| void | setPlayCommand (PlayCommand newPlayCommand) |
| QString | controllingUserId () const |
| Gets or sets the controlling user identifier. | |
| void | setControllingUserId (QString newControllingUserId) |
| Gets or sets the controlling user identifier. | |
| std::optional< qint32 > | subtitleStreamIndex () const |
| void | setSubtitleStreamIndex (std::optional< qint32 > newSubtitleStreamIndex) |
| bool | subtitleStreamIndexNull () const |
| void | setSubtitleStreamIndexNull () |
| std::optional< qint32 > | audioStreamIndex () const |
| void | setAudioStreamIndex (std::optional< qint32 > newAudioStreamIndex) |
| bool | audioStreamIndexNull () const |
| void | setAudioStreamIndexNull () |
| QString | mediaSourceId () const |
| void | setMediaSourceId (QString newMediaSourceId) |
| bool | mediaSourceIdNull () const |
| void | setMediaSourceIdNull () |
| std::optional< qint32 > | startIndex () const |
| void | setStartIndex (std::optional< qint32 > newStartIndex) |
| bool | startIndexNull () const |
| void | setStartIndexNull () |
Static Public Member Functions | |
| static PlayRequest | fromJson (QJsonObject source) |
Protected Attributes | |
| QStringList | m_itemIds |
| std::optional< qint64 > | m_startPositionTicks = std::nullopt |
| PlayCommand | m_playCommand |
| QString | m_controllingUserId |
| std::optional< qint32 > | m_subtitleStreamIndex = std::nullopt |
| std::optional< qint32 > | m_audioStreamIndex = std::nullopt |
| QString | m_mediaSourceId |
| std::optional< qint32 > | m_startIndex = std::nullopt |
| Jellyfin::DTO::PlayRequest::PlayRequest | ( | PlayCommand | playCommand, |
| QString | controllingUserId ) |
| Jellyfin::DTO::PlayRequest::PlayRequest | ( | const PlayRequest & | other | ) |
| std::optional< qint32 > Jellyfin::DTO::PlayRequest::audioStreamIndex | ( | ) | const |
| bool Jellyfin::DTO::PlayRequest::audioStreamIndexNull | ( | ) | const |
| QString Jellyfin::DTO::PlayRequest::controllingUserId | ( | ) | const |
Gets or sets the controlling user identifier.
|
static |
| QStringList Jellyfin::DTO::PlayRequest::itemIds | ( | ) | const |
Gets or sets the item ids.
| bool Jellyfin::DTO::PlayRequest::itemIdsNull | ( | ) | const |
| QString Jellyfin::DTO::PlayRequest::mediaSourceId | ( | ) | const |
| bool Jellyfin::DTO::PlayRequest::mediaSourceIdNull | ( | ) | const |
| PlayCommand Jellyfin::DTO::PlayRequest::playCommand | ( | ) | const |
| void Jellyfin::DTO::PlayRequest::replaceData | ( | PlayRequest & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::PlayRequest::setAudioStreamIndex | ( | std::optional< qint32 > | newAudioStreamIndex | ) |
| void Jellyfin::DTO::PlayRequest::setAudioStreamIndexNull | ( | ) |
| void Jellyfin::DTO::PlayRequest::setControllingUserId | ( | QString | newControllingUserId | ) |
Gets or sets the controlling user identifier.
| void Jellyfin::DTO::PlayRequest::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::PlayRequest::setItemIds | ( | QStringList | newItemIds | ) |
Gets or sets the item ids.
| void Jellyfin::DTO::PlayRequest::setItemIdsNull | ( | ) |
| void Jellyfin::DTO::PlayRequest::setMediaSourceId | ( | QString | newMediaSourceId | ) |
| void Jellyfin::DTO::PlayRequest::setMediaSourceIdNull | ( | ) |
| void Jellyfin::DTO::PlayRequest::setPlayCommand | ( | PlayCommand | newPlayCommand | ) |
| void Jellyfin::DTO::PlayRequest::setStartIndex | ( | std::optional< qint32 > | newStartIndex | ) |
| void Jellyfin::DTO::PlayRequest::setStartIndexNull | ( | ) |
| void Jellyfin::DTO::PlayRequest::setStartPositionTicks | ( | std::optional< qint64 > | newStartPositionTicks | ) |
Gets or sets the start position ticks that the first item should be played at.
| void Jellyfin::DTO::PlayRequest::setStartPositionTicksNull | ( | ) |
| void Jellyfin::DTO::PlayRequest::setSubtitleStreamIndex | ( | std::optional< qint32 > | newSubtitleStreamIndex | ) |
| void Jellyfin::DTO::PlayRequest::setSubtitleStreamIndexNull | ( | ) |
| std::optional< qint32 > Jellyfin::DTO::PlayRequest::startIndex | ( | ) | const |
| bool Jellyfin::DTO::PlayRequest::startIndexNull | ( | ) | const |
| std::optional< qint64 > Jellyfin::DTO::PlayRequest::startPositionTicks | ( | ) | const |
Gets or sets the start position ticks that the first item should be played at.
| bool Jellyfin::DTO::PlayRequest::startPositionTicksNull | ( | ) | const |
| std::optional< qint32 > Jellyfin::DTO::PlayRequest::subtitleStreamIndex | ( | ) | const |
| bool Jellyfin::DTO::PlayRequest::subtitleStreamIndexNull | ( | ) | const |
| QJsonObject Jellyfin::DTO::PlayRequest::toJson | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |