Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <clientcapabilitiesdto.h>
Public Member Functions | |
ClientCapabilitiesDto (bool supportsMediaControl, bool supportsContentUploading, bool supportsPersistentIdentifier, bool supportsSync, QSharedPointer< DeviceProfile > deviceProfile) | |
ClientCapabilitiesDto (const ClientCapabilitiesDto &other) | |
void | replaceData (ClientCapabilitiesDto &other) |
void | setFromJson (QJsonObject source) |
QJsonObject | toJson () const |
QStringList | playableMediaTypes () const |
Gets or sets the list of playable media types. | |
void | setPlayableMediaTypes (QStringList newPlayableMediaTypes) |
Gets or sets the list of playable media types. | |
bool | playableMediaTypesNull () const |
void | setPlayableMediaTypesNull () |
QList< GeneralCommandType > | supportedCommands () const |
Gets or sets the list of supported commands. | |
void | setSupportedCommands (QList< GeneralCommandType > newSupportedCommands) |
Gets or sets the list of supported commands. | |
bool | supportedCommandsNull () const |
void | setSupportedCommandsNull () |
bool | supportsMediaControl () const |
Gets or sets a value indicating whether session supports media control. | |
void | setSupportsMediaControl (bool newSupportsMediaControl) |
Gets or sets a value indicating whether session supports media control. | |
bool | supportsContentUploading () const |
Gets or sets a value indicating whether session supports content uploading. | |
void | setSupportsContentUploading (bool newSupportsContentUploading) |
Gets or sets a value indicating whether session supports content uploading. | |
QString | messageCallbackUrl () const |
Gets or sets the message callback url. | |
void | setMessageCallbackUrl (QString newMessageCallbackUrl) |
Gets or sets the message callback url. | |
bool | messageCallbackUrlNull () const |
void | setMessageCallbackUrlNull () |
bool | supportsPersistentIdentifier () const |
Gets or sets a value indicating whether session supports a persistent identifier. | |
void | setSupportsPersistentIdentifier (bool newSupportsPersistentIdentifier) |
Gets or sets a value indicating whether session supports a persistent identifier. | |
bool | supportsSync () const |
Gets or sets a value indicating whether session supports sync. | |
void | setSupportsSync (bool newSupportsSync) |
Gets or sets a value indicating whether session supports sync. | |
QSharedPointer< DeviceProfile > | deviceProfile () const |
void | setDeviceProfile (QSharedPointer< DeviceProfile > newDeviceProfile) |
QString | appStoreUrl () const |
Gets or sets the app store url. | |
void | setAppStoreUrl (QString newAppStoreUrl) |
Gets or sets the app store url. | |
bool | appStoreUrlNull () const |
void | setAppStoreUrlNull () |
QString | iconUrl () const |
Gets or sets the icon url. | |
void | setIconUrl (QString newIconUrl) |
Gets or sets the icon url. | |
bool | iconUrlNull () const |
void | setIconUrlNull () |
Static Public Member Functions | |
static ClientCapabilitiesDto | fromJson (QJsonObject source) |
Protected Attributes | |
QStringList | m_playableMediaTypes |
QList< GeneralCommandType > | m_supportedCommands |
bool | m_supportsMediaControl |
bool | m_supportsContentUploading |
QString | m_messageCallbackUrl |
bool | m_supportsPersistentIdentifier |
bool | m_supportsSync |
QSharedPointer< DeviceProfile > | m_deviceProfile = QSharedPointer<DeviceProfile>() |
QString | m_appStoreUrl |
QString | m_iconUrl |
Jellyfin::DTO::ClientCapabilitiesDto::ClientCapabilitiesDto | ( | bool | supportsMediaControl, |
bool | supportsContentUploading, | ||
bool | supportsPersistentIdentifier, | ||
bool | supportsSync, | ||
QSharedPointer< DeviceProfile > | deviceProfile ) |
Jellyfin::DTO::ClientCapabilitiesDto::ClientCapabilitiesDto | ( | const ClientCapabilitiesDto & | other | ) |
QString Jellyfin::DTO::ClientCapabilitiesDto::appStoreUrl | ( | ) | const |
Gets or sets the app store url.
bool Jellyfin::DTO::ClientCapabilitiesDto::appStoreUrlNull | ( | ) | const |
QSharedPointer< DeviceProfile > Jellyfin::DTO::ClientCapabilitiesDto::deviceProfile | ( | ) | const |
|
static |
QString Jellyfin::DTO::ClientCapabilitiesDto::iconUrl | ( | ) | const |
Gets or sets the icon url.
bool Jellyfin::DTO::ClientCapabilitiesDto::iconUrlNull | ( | ) | const |
QString Jellyfin::DTO::ClientCapabilitiesDto::messageCallbackUrl | ( | ) | const |
Gets or sets the message callback url.
bool Jellyfin::DTO::ClientCapabilitiesDto::messageCallbackUrlNull | ( | ) | const |
QStringList Jellyfin::DTO::ClientCapabilitiesDto::playableMediaTypes | ( | ) | const |
Gets or sets the list of playable media types.
bool Jellyfin::DTO::ClientCapabilitiesDto::playableMediaTypesNull | ( | ) | const |
void Jellyfin::DTO::ClientCapabilitiesDto::replaceData | ( | ClientCapabilitiesDto & | other | ) |
Replaces the data being hold by this class with that of the other.
void Jellyfin::DTO::ClientCapabilitiesDto::setAppStoreUrl | ( | QString | newAppStoreUrl | ) |
Gets or sets the app store url.
void Jellyfin::DTO::ClientCapabilitiesDto::setAppStoreUrlNull | ( | ) |
void Jellyfin::DTO::ClientCapabilitiesDto::setDeviceProfile | ( | QSharedPointer< DeviceProfile > | newDeviceProfile | ) |
void Jellyfin::DTO::ClientCapabilitiesDto::setFromJson | ( | QJsonObject | source | ) |
void Jellyfin::DTO::ClientCapabilitiesDto::setIconUrl | ( | QString | newIconUrl | ) |
Gets or sets the icon url.
void Jellyfin::DTO::ClientCapabilitiesDto::setIconUrlNull | ( | ) |
void Jellyfin::DTO::ClientCapabilitiesDto::setMessageCallbackUrl | ( | QString | newMessageCallbackUrl | ) |
Gets or sets the message callback url.
void Jellyfin::DTO::ClientCapabilitiesDto::setMessageCallbackUrlNull | ( | ) |
void Jellyfin::DTO::ClientCapabilitiesDto::setPlayableMediaTypes | ( | QStringList | newPlayableMediaTypes | ) |
Gets or sets the list of playable media types.
void Jellyfin::DTO::ClientCapabilitiesDto::setPlayableMediaTypesNull | ( | ) |
void Jellyfin::DTO::ClientCapabilitiesDto::setSupportedCommands | ( | QList< GeneralCommandType > | newSupportedCommands | ) |
Gets or sets the list of supported commands.
void Jellyfin::DTO::ClientCapabilitiesDto::setSupportedCommandsNull | ( | ) |
void Jellyfin::DTO::ClientCapabilitiesDto::setSupportsContentUploading | ( | bool | newSupportsContentUploading | ) |
Gets or sets a value indicating whether session supports content uploading.
void Jellyfin::DTO::ClientCapabilitiesDto::setSupportsMediaControl | ( | bool | newSupportsMediaControl | ) |
Gets or sets a value indicating whether session supports media control.
void Jellyfin::DTO::ClientCapabilitiesDto::setSupportsPersistentIdentifier | ( | bool | newSupportsPersistentIdentifier | ) |
Gets or sets a value indicating whether session supports a persistent identifier.
void Jellyfin::DTO::ClientCapabilitiesDto::setSupportsSync | ( | bool | newSupportsSync | ) |
Gets or sets a value indicating whether session supports sync.
QList< GeneralCommandType > Jellyfin::DTO::ClientCapabilitiesDto::supportedCommands | ( | ) | const |
Gets or sets the list of supported commands.
bool Jellyfin::DTO::ClientCapabilitiesDto::supportedCommandsNull | ( | ) | const |
bool Jellyfin::DTO::ClientCapabilitiesDto::supportsContentUploading | ( | ) | const |
Gets or sets a value indicating whether session supports content uploading.
bool Jellyfin::DTO::ClientCapabilitiesDto::supportsMediaControl | ( | ) | const |
Gets or sets a value indicating whether session supports media control.
bool Jellyfin::DTO::ClientCapabilitiesDto::supportsPersistentIdentifier | ( | ) | const |
Gets or sets a value indicating whether session supports a persistent identifier.
bool Jellyfin::DTO::ClientCapabilitiesDto::supportsSync | ( | ) | const |
Gets or sets a value indicating whether session supports sync.
QJsonObject Jellyfin::DTO::ClientCapabilitiesDto::toJson | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |