![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <sessioninfodto.h>
Public Member Functions | |
| SessionInfoDto (QSharedPointer< PlayerStateInfo > playState, QSharedPointer< ClientCapabilitiesDto > capabilities, QList< MediaType > playableMediaTypes, QString userId, QDateTime lastActivityDate, QDateTime lastPlaybackCheckIn, QSharedPointer< BaseItemDto > nowPlayingItem, QSharedPointer< BaseItemDto > nowViewingItem, QSharedPointer< TranscodingInfo > transcodingInfo, bool isActive, bool supportsMediaControl, bool supportsRemoteControl, bool hasCustomDeviceName, QList< GeneralCommandType > supportedCommands) | |
| SessionInfoDto (const SessionInfoDto &other) | |
| void | replaceData (SessionInfoDto &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| QSharedPointer< PlayerStateInfo > | playState () const |
| void | setPlayState (QSharedPointer< PlayerStateInfo > newPlayState) |
| QList< SessionUserInfo > | additionalUsers () const |
| Gets or sets the additional users. | |
| void | setAdditionalUsers (QList< SessionUserInfo > newAdditionalUsers) |
| Gets or sets the additional users. | |
| bool | additionalUsersNull () const |
| void | setAdditionalUsersNull () |
| QSharedPointer< ClientCapabilitiesDto > | capabilities () const |
| void | setCapabilities (QSharedPointer< ClientCapabilitiesDto > 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 () |
| QList< MediaType > | playableMediaTypes () const |
| Gets or sets the playable media types. | |
| void | setPlayableMediaTypes (QList< MediaType > newPlayableMediaTypes) |
| Gets or sets the playable media types. | |
| 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. | |
| QDateTime | lastPausedDate () const |
| Gets or sets the last paused date. | |
| void | setLastPausedDate (QDateTime newLastPausedDate) |
| Gets or sets the last paused date. | |
| bool | lastPausedDateNull () const |
| void | setLastPausedDateNull () |
| 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< 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 or sets a value indicating whether this session is active. | |
| void | setIsActive (bool newIsActive) |
| Gets or sets a value indicating whether this session is active. | |
| bool | supportsMediaControl () const |
| Gets or sets a value indicating whether the session supports media control. | |
| void | setSupportsMediaControl (bool newSupportsMediaControl) |
| Gets or sets a value indicating whether the session supports media control. | |
| bool | supportsRemoteControl () const |
| Gets or sets a value indicating whether the session supports remote control. | |
| void | setSupportsRemoteControl (bool newSupportsRemoteControl) |
| Gets or sets a value indicating whether the session supports remote control. | |
| QList< QueueItem > | nowPlayingQueue () const |
| Gets or sets the now playing queue. | |
| void | setNowPlayingQueue (QList< QueueItem > newNowPlayingQueue) |
| Gets or sets the now playing queue. | |
| bool | nowPlayingQueueNull () const |
| void | setNowPlayingQueueNull () |
| QList< BaseItemDto > | nowPlayingQueueFullItems () const |
| Gets or sets the now playing queue full items. | |
| void | setNowPlayingQueueFullItems (QList< BaseItemDto > newNowPlayingQueueFullItems) |
| Gets or sets the now playing queue full items. | |
| bool | nowPlayingQueueFullItemsNull () const |
| void | setNowPlayingQueueFullItemsNull () |
| bool | hasCustomDeviceName () const |
| Gets or sets a value indicating whether the session has a custom device name. | |
| void | setHasCustomDeviceName (bool newHasCustomDeviceName) |
| Gets or sets a value indicating whether the session has a custom device name. | |
| QString | playlistItemId () const |
| Gets or sets the playlist item id. | |
| void | setPlaylistItemId (QString newPlaylistItemId) |
| Gets or sets the playlist item id. | |
| bool | playlistItemIdNull () const |
| void | setPlaylistItemIdNull () |
| QString | serverId () const |
| Gets or sets the server id. | |
| void | setServerId (QString newServerId) |
| Gets or sets the server id. | |
| bool | serverIdNull () const |
| void | setServerIdNull () |
| QString | userPrimaryImageTag () const |
| Gets or sets the user primary image tag. | |
| void | setUserPrimaryImageTag (QString newUserPrimaryImageTag) |
| Gets or sets the user primary image tag. | |
| 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. | |
Static Public Member Functions | |
| static SessionInfoDto | fromJson (QJsonObject source) |
| Jellyfin::DTO::SessionInfoDto::SessionInfoDto | ( | QSharedPointer< PlayerStateInfo > | playState, |
| QSharedPointer< ClientCapabilitiesDto > | capabilities, | ||
| QList< MediaType > | playableMediaTypes, | ||
| QString | userId, | ||
| QDateTime | lastActivityDate, | ||
| QDateTime | lastPlaybackCheckIn, | ||
| QSharedPointer< BaseItemDto > | nowPlayingItem, | ||
| QSharedPointer< BaseItemDto > | nowViewingItem, | ||
| QSharedPointer< TranscodingInfo > | transcodingInfo, | ||
| bool | isActive, | ||
| bool | supportsMediaControl, | ||
| bool | supportsRemoteControl, | ||
| bool | hasCustomDeviceName, | ||
| QList< GeneralCommandType > | supportedCommands ) |
| Jellyfin::DTO::SessionInfoDto::SessionInfoDto | ( | const SessionInfoDto & | other | ) |
| QList< SessionUserInfo > Jellyfin::DTO::SessionInfoDto::additionalUsers | ( | ) | const |
Gets or sets the additional users.
| bool Jellyfin::DTO::SessionInfoDto::additionalUsersNull | ( | ) | const |
| QString Jellyfin::DTO::SessionInfoDto::applicationVersion | ( | ) | const |
Gets or sets the application version.
| bool Jellyfin::DTO::SessionInfoDto::applicationVersionNull | ( | ) | const |
| QSharedPointer< ClientCapabilitiesDto > Jellyfin::DTO::SessionInfoDto::capabilities | ( | ) | const |
| QString Jellyfin::DTO::SessionInfoDto::client | ( | ) | const |
Gets or sets the type of the client.
| bool Jellyfin::DTO::SessionInfoDto::clientNull | ( | ) | const |
| QString Jellyfin::DTO::SessionInfoDto::deviceId | ( | ) | const |
Gets or sets the device id.
| bool Jellyfin::DTO::SessionInfoDto::deviceIdNull | ( | ) | const |
| QString Jellyfin::DTO::SessionInfoDto::deviceName | ( | ) | const |
Gets or sets the name of the device.
| bool Jellyfin::DTO::SessionInfoDto::deviceNameNull | ( | ) | const |
| QString Jellyfin::DTO::SessionInfoDto::deviceType | ( | ) | const |
Gets or sets the type of the device.
| bool Jellyfin::DTO::SessionInfoDto::deviceTypeNull | ( | ) | const |
|
static |
| bool Jellyfin::DTO::SessionInfoDto::hasCustomDeviceName | ( | ) | const |
Gets or sets a value indicating whether the session has a custom device name.
| bool Jellyfin::DTO::SessionInfoDto::isActive | ( | ) | const |
Gets or sets a value indicating whether this session is active.
| QString Jellyfin::DTO::SessionInfoDto::jellyfinId | ( | ) | const |
Gets or sets the id.
| bool Jellyfin::DTO::SessionInfoDto::jellyfinIdNull | ( | ) | const |
| QDateTime Jellyfin::DTO::SessionInfoDto::lastActivityDate | ( | ) | const |
Gets or sets the last activity date.
| QDateTime Jellyfin::DTO::SessionInfoDto::lastPausedDate | ( | ) | const |
Gets or sets the last paused date.
| bool Jellyfin::DTO::SessionInfoDto::lastPausedDateNull | ( | ) | const |
| QDateTime Jellyfin::DTO::SessionInfoDto::lastPlaybackCheckIn | ( | ) | const |
Gets or sets the last playback check in.
| QSharedPointer< BaseItemDto > Jellyfin::DTO::SessionInfoDto::nowPlayingItem | ( | ) | const |
Gets or sets the now playing queue.
| QList< BaseItemDto > Jellyfin::DTO::SessionInfoDto::nowPlayingQueueFullItems | ( | ) | const |
Gets or sets the now playing queue full items.
| bool Jellyfin::DTO::SessionInfoDto::nowPlayingQueueFullItemsNull | ( | ) | const |
| bool Jellyfin::DTO::SessionInfoDto::nowPlayingQueueNull | ( | ) | const |
| QSharedPointer< BaseItemDto > Jellyfin::DTO::SessionInfoDto::nowViewingItem | ( | ) | const |
Gets or sets the playable media types.
| QString Jellyfin::DTO::SessionInfoDto::playlistItemId | ( | ) | const |
Gets or sets the playlist item id.
| bool Jellyfin::DTO::SessionInfoDto::playlistItemIdNull | ( | ) | const |
| QSharedPointer< PlayerStateInfo > Jellyfin::DTO::SessionInfoDto::playState | ( | ) | const |
| QString Jellyfin::DTO::SessionInfoDto::remoteEndPoint | ( | ) | const |
Gets or sets the remote end point.
| bool Jellyfin::DTO::SessionInfoDto::remoteEndPointNull | ( | ) | const |
| void Jellyfin::DTO::SessionInfoDto::replaceData | ( | SessionInfoDto & | other | ) |
Replaces the data being hold by this class with that of the other.
| QString Jellyfin::DTO::SessionInfoDto::serverId | ( | ) | const |
Gets or sets the server id.
| bool Jellyfin::DTO::SessionInfoDto::serverIdNull | ( | ) | const |
| void Jellyfin::DTO::SessionInfoDto::setAdditionalUsers | ( | QList< SessionUserInfo > | newAdditionalUsers | ) |
Gets or sets the additional users.
| void Jellyfin::DTO::SessionInfoDto::setAdditionalUsersNull | ( | ) |
| void Jellyfin::DTO::SessionInfoDto::setApplicationVersion | ( | QString | newApplicationVersion | ) |
Gets or sets the application version.
| void Jellyfin::DTO::SessionInfoDto::setApplicationVersionNull | ( | ) |
| void Jellyfin::DTO::SessionInfoDto::setCapabilities | ( | QSharedPointer< ClientCapabilitiesDto > | newCapabilities | ) |
| void Jellyfin::DTO::SessionInfoDto::setClient | ( | QString | newClient | ) |
Gets or sets the type of the client.
| void Jellyfin::DTO::SessionInfoDto::setClientNull | ( | ) |
| void Jellyfin::DTO::SessionInfoDto::setDeviceId | ( | QString | newDeviceId | ) |
Gets or sets the device id.
| void Jellyfin::DTO::SessionInfoDto::setDeviceIdNull | ( | ) |
| void Jellyfin::DTO::SessionInfoDto::setDeviceName | ( | QString | newDeviceName | ) |
Gets or sets the name of the device.
| void Jellyfin::DTO::SessionInfoDto::setDeviceNameNull | ( | ) |
| void Jellyfin::DTO::SessionInfoDto::setDeviceType | ( | QString | newDeviceType | ) |
Gets or sets the type of the device.
| void Jellyfin::DTO::SessionInfoDto::setDeviceTypeNull | ( | ) |
| void Jellyfin::DTO::SessionInfoDto::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::SessionInfoDto::setHasCustomDeviceName | ( | bool | newHasCustomDeviceName | ) |
Gets or sets a value indicating whether the session has a custom device name.
| void Jellyfin::DTO::SessionInfoDto::setIsActive | ( | bool | newIsActive | ) |
Gets or sets a value indicating whether this session is active.
| void Jellyfin::DTO::SessionInfoDto::setJellyfinId | ( | QString | newJellyfinId | ) |
Gets or sets the id.
| void Jellyfin::DTO::SessionInfoDto::setJellyfinIdNull | ( | ) |
| void Jellyfin::DTO::SessionInfoDto::setLastActivityDate | ( | QDateTime | newLastActivityDate | ) |
Gets or sets the last activity date.
| void Jellyfin::DTO::SessionInfoDto::setLastPausedDate | ( | QDateTime | newLastPausedDate | ) |
Gets or sets the last paused date.
| void Jellyfin::DTO::SessionInfoDto::setLastPausedDateNull | ( | ) |
| void Jellyfin::DTO::SessionInfoDto::setLastPlaybackCheckIn | ( | QDateTime | newLastPlaybackCheckIn | ) |
Gets or sets the last playback check in.
| void Jellyfin::DTO::SessionInfoDto::setNowPlayingItem | ( | QSharedPointer< BaseItemDto > | newNowPlayingItem | ) |
Gets or sets the now playing queue.
| void Jellyfin::DTO::SessionInfoDto::setNowPlayingQueueFullItems | ( | QList< BaseItemDto > | newNowPlayingQueueFullItems | ) |
Gets or sets the now playing queue full items.
| void Jellyfin::DTO::SessionInfoDto::setNowPlayingQueueFullItemsNull | ( | ) |
| void Jellyfin::DTO::SessionInfoDto::setNowPlayingQueueNull | ( | ) |
| void Jellyfin::DTO::SessionInfoDto::setNowViewingItem | ( | QSharedPointer< BaseItemDto > | newNowViewingItem | ) |
| void Jellyfin::DTO::SessionInfoDto::setPlayableMediaTypes | ( | QList< MediaType > | newPlayableMediaTypes | ) |
Gets or sets the playable media types.
| void Jellyfin::DTO::SessionInfoDto::setPlaylistItemId | ( | QString | newPlaylistItemId | ) |
Gets or sets the playlist item id.
| void Jellyfin::DTO::SessionInfoDto::setPlaylistItemIdNull | ( | ) |
| void Jellyfin::DTO::SessionInfoDto::setPlayState | ( | QSharedPointer< PlayerStateInfo > | newPlayState | ) |
| void Jellyfin::DTO::SessionInfoDto::setRemoteEndPoint | ( | QString | newRemoteEndPoint | ) |
Gets or sets the remote end point.
| void Jellyfin::DTO::SessionInfoDto::setRemoteEndPointNull | ( | ) |
| void Jellyfin::DTO::SessionInfoDto::setServerId | ( | QString | newServerId | ) |
Gets or sets the server id.
| void Jellyfin::DTO::SessionInfoDto::setServerIdNull | ( | ) |
| void Jellyfin::DTO::SessionInfoDto::setSupportedCommands | ( | QList< GeneralCommandType > | newSupportedCommands | ) |
Gets or sets the supported commands.
| void Jellyfin::DTO::SessionInfoDto::setSupportsMediaControl | ( | bool | newSupportsMediaControl | ) |
Gets or sets a value indicating whether the session supports media control.
| void Jellyfin::DTO::SessionInfoDto::setSupportsRemoteControl | ( | bool | newSupportsRemoteControl | ) |
Gets or sets a value indicating whether the session supports remote control.
| void Jellyfin::DTO::SessionInfoDto::setTranscodingInfo | ( | QSharedPointer< TranscodingInfo > | newTranscodingInfo | ) |
| void Jellyfin::DTO::SessionInfoDto::setUserId | ( | QString | newUserId | ) |
Gets or sets the user id.
| void Jellyfin::DTO::SessionInfoDto::setUserName | ( | QString | newUserName | ) |
Gets or sets the username.
| void Jellyfin::DTO::SessionInfoDto::setUserNameNull | ( | ) |
| void Jellyfin::DTO::SessionInfoDto::setUserPrimaryImageTag | ( | QString | newUserPrimaryImageTag | ) |
Gets or sets the user primary image tag.
| void Jellyfin::DTO::SessionInfoDto::setUserPrimaryImageTagNull | ( | ) |
| QList< GeneralCommandType > Jellyfin::DTO::SessionInfoDto::supportedCommands | ( | ) | const |
Gets or sets the supported commands.
| bool Jellyfin::DTO::SessionInfoDto::supportsMediaControl | ( | ) | const |
Gets or sets a value indicating whether the session supports media control.
| bool Jellyfin::DTO::SessionInfoDto::supportsRemoteControl | ( | ) | const |
Gets or sets a value indicating whether the session supports remote control.
| QJsonObject Jellyfin::DTO::SessionInfoDto::toJson | ( | ) | const |
| QSharedPointer< TranscodingInfo > Jellyfin::DTO::SessionInfoDto::transcodingInfo | ( | ) | const |
| QString Jellyfin::DTO::SessionInfoDto::userId | ( | ) | const |
Gets or sets the user id.
| QString Jellyfin::DTO::SessionInfoDto::userName | ( | ) | const |
Gets or sets the username.
| bool Jellyfin::DTO::SessionInfoDto::userNameNull | ( | ) | const |
| QString Jellyfin::DTO::SessionInfoDto::userPrimaryImageTag | ( | ) | const |
Gets or sets the user primary image tag.
| bool Jellyfin::DTO::SessionInfoDto::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 |