![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <bufferrequestdto.h>
Public Member Functions | |
| BufferRequestDto (QDateTime when, qint64 positionTicks, bool isPlaying, QString playlistItemId) | |
| BufferRequestDto (const BufferRequestDto &other) | |
| void | replaceData (BufferRequestDto &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| QDateTime | when () const |
| Gets or sets when the request has been made by the client. | |
| void | setWhen (QDateTime newWhen) |
| Gets or sets when the request has been made by the client. | |
| qint64 | positionTicks () const |
| Gets or sets the position ticks. | |
| void | setPositionTicks (qint64 newPositionTicks) |
| Gets or sets the position ticks. | |
| bool | isPlaying () const |
| Gets or sets a value indicating whether the client playback is unpaused. | |
| void | setIsPlaying (bool newIsPlaying) |
| Gets or sets a value indicating whether the client playback is unpaused. | |
| QString | playlistItemId () const |
| Gets or sets the playlist item identifier of the playing item. | |
| void | setPlaylistItemId (QString newPlaylistItemId) |
| Gets or sets the playlist item identifier of the playing item. | |
Static Public Member Functions | |
| static BufferRequestDto | fromJson (QJsonObject source) |
Protected Attributes | |
| QDateTime | m_when |
| qint64 | m_positionTicks |
| bool | m_isPlaying |
| QString | m_playlistItemId |
| Jellyfin::DTO::BufferRequestDto::BufferRequestDto | ( | QDateTime | when, |
| qint64 | positionTicks, | ||
| bool | isPlaying, | ||
| QString | playlistItemId ) |
| Jellyfin::DTO::BufferRequestDto::BufferRequestDto | ( | const BufferRequestDto & | other | ) |
|
static |
| bool Jellyfin::DTO::BufferRequestDto::isPlaying | ( | ) | const |
Gets or sets a value indicating whether the client playback is unpaused.
| QString Jellyfin::DTO::BufferRequestDto::playlistItemId | ( | ) | const |
Gets or sets the playlist item identifier of the playing item.
| qint64 Jellyfin::DTO::BufferRequestDto::positionTicks | ( | ) | const |
Gets or sets the position ticks.
| void Jellyfin::DTO::BufferRequestDto::replaceData | ( | BufferRequestDto & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::BufferRequestDto::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::BufferRequestDto::setIsPlaying | ( | bool | newIsPlaying | ) |
Gets or sets a value indicating whether the client playback is unpaused.
| void Jellyfin::DTO::BufferRequestDto::setPlaylistItemId | ( | QString | newPlaylistItemId | ) |
Gets or sets the playlist item identifier of the playing item.
| void Jellyfin::DTO::BufferRequestDto::setPositionTicks | ( | qint64 | newPositionTicks | ) |
Gets or sets the position ticks.
| void Jellyfin::DTO::BufferRequestDto::setWhen | ( | QDateTime | newWhen | ) |
Gets or sets when the request has been made by the client.
| QJsonObject Jellyfin::DTO::BufferRequestDto::toJson | ( | ) | const |
| QDateTime Jellyfin::DTO::BufferRequestDto::when | ( | ) | const |
Gets or sets when the request has been made by the client.
|
protected |
|
protected |
|
protected |
|
protected |