Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <sessioninfo.h>
Public Member Functions | |
SessionInfo (QSharedPointer< PlayerStateInfo > playState, QSharedPointer< ClientCapabilities > capabilities, QString userId, QDateTime lastActivityDate, QDateTime lastPlaybackCheckIn, QSharedPointer< BaseItemDto > nowPlayingItem, QSharedPointer< BaseItem > fullNowPlayingItem, QSharedPointer< BaseItemDto > nowViewingItem, QSharedPointer< TranscodingInfo > transcodingInfo, bool isActive, bool supportsMediaControl, bool supportsRemoteControl, bool hasCustomDeviceName) | |
SessionInfo (const SessionInfo &other) | |
void | replaceData (SessionInfo &other) |
void | setFromJson (QJsonObject source) |
QJsonObject | toJson () const |
QSharedPointer< PlayerStateInfo > | playState () const |
void | setPlayState (QSharedPointer< PlayerStateInfo > newPlayState) |
QList< SessionUserInfo > | additionalUsers () const |
void | setAdditionalUsers (QList< SessionUserInfo > newAdditionalUsers) |
bool | additionalUsersNull () const |
void | setAdditionalUsersNull () |
QSharedPointer< ClientCapabilities > | capabilities () const |
void | setCapabilities (QSharedPointer< ClientCapabilities > newCapabilities) |
QString | remoteEndPoint () const |
Gets or sets the remote end point. | |
void | setRemoteEndPoint (QString newRemoteEndPoint) |
Gets or sets the remote end point. | |
bool | remoteEndPointNull () const |
void | setRemoteEndPointNull () |
QStringList | playableMediaTypes () const |
Gets or sets the playable media types. | |
void | setPlayableMediaTypes (QStringList newPlayableMediaTypes) |
Gets or sets the playable media types. | |
bool | playableMediaTypesNull () const |
void | setPlayableMediaTypesNull () |
QString | jellyfinId () const |
Gets or sets the id. | |
void | setJellyfinId (QString newJellyfinId) |
Gets or sets the id. | |
bool | jellyfinIdNull () const |
void | setJellyfinIdNull () |
QString | userId () const |
Gets or sets the user id. | |
void | setUserId (QString newUserId) |
Gets or sets the user id. | |
QString | userName () const |
Gets or sets the username. | |
void | setUserName (QString newUserName) |
Gets or sets the username. | |
bool | userNameNull () const |
void | setUserNameNull () |
QString | client () const |
Gets or sets the type of the client. | |
void | setClient (QString newClient) |
Gets or sets the type of the client. | |
bool | clientNull () const |
void | setClientNull () |
QDateTime | lastActivityDate () const |
Gets or sets the last activity date. | |
void | setLastActivityDate (QDateTime newLastActivityDate) |
Gets or sets the last activity date. | |
QDateTime | lastPlaybackCheckIn () const |
Gets or sets the last playback check in. | |
void | setLastPlaybackCheckIn (QDateTime newLastPlaybackCheckIn) |
Gets or sets the last playback check in. | |
QString | deviceName () const |
Gets or sets the name of the device. | |
void | setDeviceName (QString newDeviceName) |
Gets or sets the name of the device. | |
bool | deviceNameNull () const |
void | setDeviceNameNull () |
QString | deviceType () const |
Gets or sets the type of the device. | |
void | setDeviceType (QString newDeviceType) |
Gets or sets the type of the device. | |
bool | deviceTypeNull () const |
void | setDeviceTypeNull () |
QSharedPointer< BaseItemDto > | nowPlayingItem () const |
void | setNowPlayingItem (QSharedPointer< BaseItemDto > newNowPlayingItem) |
QSharedPointer< BaseItem > | fullNowPlayingItem () const |
void | setFullNowPlayingItem (QSharedPointer< BaseItem > newFullNowPlayingItem) |
QSharedPointer< BaseItemDto > | nowViewingItem () const |
void | setNowViewingItem (QSharedPointer< BaseItemDto > newNowViewingItem) |
QString | deviceId () const |
Gets or sets the device id. | |
void | setDeviceId (QString newDeviceId) |
Gets or sets the device id. | |
bool | deviceIdNull () const |
void | setDeviceIdNull () |
QString | applicationVersion () const |
Gets or sets the application version. | |
void | setApplicationVersion (QString newApplicationVersion) |
Gets or sets the application version. | |
bool | applicationVersionNull () const |
void | setApplicationVersionNull () |
QSharedPointer< TranscodingInfo > | transcodingInfo () const |
void | setTranscodingInfo (QSharedPointer< TranscodingInfo > newTranscodingInfo) |
bool | isActive () const |
Gets a value indicating whether this instance is active. | |
void | setIsActive (bool newIsActive) |
Gets a value indicating whether this instance is active. | |
bool | supportsMediaControl () const |
void | setSupportsMediaControl (bool newSupportsMediaControl) |
bool | supportsRemoteControl () const |
void | setSupportsRemoteControl (bool newSupportsRemoteControl) |
QList< QueueItem > | nowPlayingQueue () const |
void | setNowPlayingQueue (QList< QueueItem > newNowPlayingQueue) |
bool | nowPlayingQueueNull () const |
void | setNowPlayingQueueNull () |
bool | hasCustomDeviceName () const |
void | setHasCustomDeviceName (bool newHasCustomDeviceName) |
QString | playlistItemId () const |
void | setPlaylistItemId (QString newPlaylistItemId) |
bool | playlistItemIdNull () const |
void | setPlaylistItemIdNull () |
QString | serverId () const |
void | setServerId (QString newServerId) |
bool | serverIdNull () const |
void | setServerIdNull () |
QString | userPrimaryImageTag () const |
void | setUserPrimaryImageTag (QString newUserPrimaryImageTag) |
bool | userPrimaryImageTagNull () const |
void | setUserPrimaryImageTagNull () |
QList< GeneralCommandType > | supportedCommands () const |
Gets or sets the supported commands. | |
void | setSupportedCommands (QList< GeneralCommandType > newSupportedCommands) |
Gets or sets the supported commands. | |
bool | supportedCommandsNull () const |
void | setSupportedCommandsNull () |
Static Public Member Functions | |
static SessionInfo | fromJson (QJsonObject source) |
Jellyfin::DTO::SessionInfo::SessionInfo | ( | QSharedPointer< PlayerStateInfo > | playState, |
QSharedPointer< ClientCapabilities > | capabilities, | ||
QString | userId, | ||
QDateTime | lastActivityDate, | ||
QDateTime | lastPlaybackCheckIn, | ||
QSharedPointer< BaseItemDto > | nowPlayingItem, | ||
QSharedPointer< BaseItem > | fullNowPlayingItem, | ||
QSharedPointer< BaseItemDto > | nowViewingItem, | ||
QSharedPointer< TranscodingInfo > | transcodingInfo, | ||
bool | isActive, | ||
bool | supportsMediaControl, | ||
bool | supportsRemoteControl, | ||
bool | hasCustomDeviceName ) |
Jellyfin::DTO::SessionInfo::SessionInfo | ( | const SessionInfo & | other | ) |
QList< SessionUserInfo > Jellyfin::DTO::SessionInfo::additionalUsers | ( | ) | const |
bool Jellyfin::DTO::SessionInfo::additionalUsersNull | ( | ) | const |
QString Jellyfin::DTO::SessionInfo::applicationVersion | ( | ) | const |
Gets or sets the application version.
bool Jellyfin::DTO::SessionInfo::applicationVersionNull | ( | ) | const |
QSharedPointer< ClientCapabilities > Jellyfin::DTO::SessionInfo::capabilities | ( | ) | const |
QString Jellyfin::DTO::SessionInfo::client | ( | ) | const |
Gets or sets the type of the client.
bool Jellyfin::DTO::SessionInfo::clientNull | ( | ) | const |
QString Jellyfin::DTO::SessionInfo::deviceId | ( | ) | const |
Gets or sets the device id.
bool Jellyfin::DTO::SessionInfo::deviceIdNull | ( | ) | const |
QString Jellyfin::DTO::SessionInfo::deviceName | ( | ) | const |
Gets or sets the name of the device.
bool Jellyfin::DTO::SessionInfo::deviceNameNull | ( | ) | const |
QString Jellyfin::DTO::SessionInfo::deviceType | ( | ) | const |
Gets or sets the type of the device.
bool Jellyfin::DTO::SessionInfo::deviceTypeNull | ( | ) | const |
|
static |
QSharedPointer< BaseItem > Jellyfin::DTO::SessionInfo::fullNowPlayingItem | ( | ) | const |
bool Jellyfin::DTO::SessionInfo::hasCustomDeviceName | ( | ) | const |
bool Jellyfin::DTO::SessionInfo::isActive | ( | ) | const |
Gets a value indicating whether this instance is active.
QString Jellyfin::DTO::SessionInfo::jellyfinId | ( | ) | const |
Gets or sets the id.
bool Jellyfin::DTO::SessionInfo::jellyfinIdNull | ( | ) | const |
QDateTime Jellyfin::DTO::SessionInfo::lastActivityDate | ( | ) | const |
Gets or sets the last activity date.
QDateTime Jellyfin::DTO::SessionInfo::lastPlaybackCheckIn | ( | ) | const |
Gets or sets the last playback check in.
QSharedPointer< BaseItemDto > Jellyfin::DTO::SessionInfo::nowPlayingItem | ( | ) | const |
bool Jellyfin::DTO::SessionInfo::nowPlayingQueueNull | ( | ) | const |
QSharedPointer< BaseItemDto > Jellyfin::DTO::SessionInfo::nowViewingItem | ( | ) | const |
QStringList Jellyfin::DTO::SessionInfo::playableMediaTypes | ( | ) | const |
Gets or sets the playable media types.
bool Jellyfin::DTO::SessionInfo::playableMediaTypesNull | ( | ) | const |
QString Jellyfin::DTO::SessionInfo::playlistItemId | ( | ) | const |
bool Jellyfin::DTO::SessionInfo::playlistItemIdNull | ( | ) | const |
QSharedPointer< PlayerStateInfo > Jellyfin::DTO::SessionInfo::playState | ( | ) | const |
QString Jellyfin::DTO::SessionInfo::remoteEndPoint | ( | ) | const |
Gets or sets the remote end point.
bool Jellyfin::DTO::SessionInfo::remoteEndPointNull | ( | ) | const |
void Jellyfin::DTO::SessionInfo::replaceData | ( | SessionInfo & | other | ) |
Replaces the data being hold by this class with that of the other.
QString Jellyfin::DTO::SessionInfo::serverId | ( | ) | const |
bool Jellyfin::DTO::SessionInfo::serverIdNull | ( | ) | const |
void Jellyfin::DTO::SessionInfo::setAdditionalUsers | ( | QList< SessionUserInfo > | newAdditionalUsers | ) |
void Jellyfin::DTO::SessionInfo::setAdditionalUsersNull | ( | ) |
void Jellyfin::DTO::SessionInfo::setApplicationVersion | ( | QString | newApplicationVersion | ) |
Gets or sets the application version.
void Jellyfin::DTO::SessionInfo::setApplicationVersionNull | ( | ) |
void Jellyfin::DTO::SessionInfo::setCapabilities | ( | QSharedPointer< ClientCapabilities > | newCapabilities | ) |
void Jellyfin::DTO::SessionInfo::setClient | ( | QString | newClient | ) |
Gets or sets the type of the client.
void Jellyfin::DTO::SessionInfo::setClientNull | ( | ) |
void Jellyfin::DTO::SessionInfo::setDeviceId | ( | QString | newDeviceId | ) |
Gets or sets the device id.
void Jellyfin::DTO::SessionInfo::setDeviceIdNull | ( | ) |
void Jellyfin::DTO::SessionInfo::setDeviceName | ( | QString | newDeviceName | ) |
Gets or sets the name of the device.
void Jellyfin::DTO::SessionInfo::setDeviceNameNull | ( | ) |
void Jellyfin::DTO::SessionInfo::setDeviceType | ( | QString | newDeviceType | ) |
Gets or sets the type of the device.
void Jellyfin::DTO::SessionInfo::setDeviceTypeNull | ( | ) |
void Jellyfin::DTO::SessionInfo::setFromJson | ( | QJsonObject | source | ) |
void Jellyfin::DTO::SessionInfo::setFullNowPlayingItem | ( | QSharedPointer< BaseItem > | newFullNowPlayingItem | ) |
void Jellyfin::DTO::SessionInfo::setHasCustomDeviceName | ( | bool | newHasCustomDeviceName | ) |
void Jellyfin::DTO::SessionInfo::setIsActive | ( | bool | newIsActive | ) |
Gets a value indicating whether this instance is active.
void Jellyfin::DTO::SessionInfo::setJellyfinId | ( | QString | newJellyfinId | ) |
Gets or sets the id.
void Jellyfin::DTO::SessionInfo::setJellyfinIdNull | ( | ) |
void Jellyfin::DTO::SessionInfo::setLastActivityDate | ( | QDateTime | newLastActivityDate | ) |
Gets or sets the last activity date.
void Jellyfin::DTO::SessionInfo::setLastPlaybackCheckIn | ( | QDateTime | newLastPlaybackCheckIn | ) |
Gets or sets the last playback check in.
void Jellyfin::DTO::SessionInfo::setNowPlayingItem | ( | QSharedPointer< BaseItemDto > | newNowPlayingItem | ) |
void Jellyfin::DTO::SessionInfo::setNowPlayingQueueNull | ( | ) |
void Jellyfin::DTO::SessionInfo::setNowViewingItem | ( | QSharedPointer< BaseItemDto > | newNowViewingItem | ) |
void Jellyfin::DTO::SessionInfo::setPlayableMediaTypes | ( | QStringList | newPlayableMediaTypes | ) |
Gets or sets the playable media types.
void Jellyfin::DTO::SessionInfo::setPlayableMediaTypesNull | ( | ) |
void Jellyfin::DTO::SessionInfo::setPlaylistItemId | ( | QString | newPlaylistItemId | ) |
void Jellyfin::DTO::SessionInfo::setPlaylistItemIdNull | ( | ) |
void Jellyfin::DTO::SessionInfo::setPlayState | ( | QSharedPointer< PlayerStateInfo > | newPlayState | ) |
void Jellyfin::DTO::SessionInfo::setRemoteEndPoint | ( | QString | newRemoteEndPoint | ) |
Gets or sets the remote end point.
void Jellyfin::DTO::SessionInfo::setRemoteEndPointNull | ( | ) |
void Jellyfin::DTO::SessionInfo::setServerId | ( | QString | newServerId | ) |
void Jellyfin::DTO::SessionInfo::setServerIdNull | ( | ) |
void Jellyfin::DTO::SessionInfo::setSupportedCommands | ( | QList< GeneralCommandType > | newSupportedCommands | ) |
Gets or sets the supported commands.
void Jellyfin::DTO::SessionInfo::setSupportedCommandsNull | ( | ) |
void Jellyfin::DTO::SessionInfo::setSupportsMediaControl | ( | bool | newSupportsMediaControl | ) |
void Jellyfin::DTO::SessionInfo::setSupportsRemoteControl | ( | bool | newSupportsRemoteControl | ) |
void Jellyfin::DTO::SessionInfo::setTranscodingInfo | ( | QSharedPointer< TranscodingInfo > | newTranscodingInfo | ) |
void Jellyfin::DTO::SessionInfo::setUserId | ( | QString | newUserId | ) |
Gets or sets the user id.
void Jellyfin::DTO::SessionInfo::setUserName | ( | QString | newUserName | ) |
Gets or sets the username.
void Jellyfin::DTO::SessionInfo::setUserNameNull | ( | ) |
void Jellyfin::DTO::SessionInfo::setUserPrimaryImageTag | ( | QString | newUserPrimaryImageTag | ) |
void Jellyfin::DTO::SessionInfo::setUserPrimaryImageTagNull | ( | ) |
QList< GeneralCommandType > Jellyfin::DTO::SessionInfo::supportedCommands | ( | ) | const |
Gets or sets the supported commands.
bool Jellyfin::DTO::SessionInfo::supportedCommandsNull | ( | ) | const |
bool Jellyfin::DTO::SessionInfo::supportsMediaControl | ( | ) | const |
bool Jellyfin::DTO::SessionInfo::supportsRemoteControl | ( | ) | const |
QJsonObject Jellyfin::DTO::SessionInfo::toJson | ( | ) | const |
QSharedPointer< TranscodingInfo > Jellyfin::DTO::SessionInfo::transcodingInfo | ( | ) | const |
QString Jellyfin::DTO::SessionInfo::userId | ( | ) | const |
Gets or sets the user id.
QString Jellyfin::DTO::SessionInfo::userName | ( | ) | const |
Gets or sets the username.
bool Jellyfin::DTO::SessionInfo::userNameNull | ( | ) | const |
QString Jellyfin::DTO::SessionInfo::userPrimaryImageTag | ( | ) | const |
bool Jellyfin::DTO::SessionInfo::userPrimaryImageTagNull | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |