Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
Loading...
Searching...
No Matches
Jellyfin::DTO::ClientCapabilities Class Reference

#include <clientcapabilities.h>

Public Member Functions

 ClientCapabilities (bool supportsMediaControl, bool supportsContentUploading, bool supportsPersistentIdentifier, bool supportsSync, QSharedPointer< DeviceProfile > deviceProfile)
 
 ClientCapabilities (const ClientCapabilities &other)
 
void replaceData (ClientCapabilities &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QStringList playableMediaTypes () const
 
void setPlayableMediaTypes (QStringList newPlayableMediaTypes)
 
bool playableMediaTypesNull () const
 
void setPlayableMediaTypesNull ()
 
QList< GeneralCommandTypesupportedCommands () const
 
void setSupportedCommands (QList< GeneralCommandType > newSupportedCommands)
 
bool supportedCommandsNull () const
 
void setSupportedCommandsNull ()
 
bool supportsMediaControl () const
 
void setSupportsMediaControl (bool newSupportsMediaControl)
 
bool supportsContentUploading () const
 
void setSupportsContentUploading (bool newSupportsContentUploading)
 
QString messageCallbackUrl () const
 
void setMessageCallbackUrl (QString newMessageCallbackUrl)
 
bool messageCallbackUrlNull () const
 
void setMessageCallbackUrlNull ()
 
bool supportsPersistentIdentifier () const
 
void setSupportsPersistentIdentifier (bool newSupportsPersistentIdentifier)
 
bool supportsSync () const
 
void setSupportsSync (bool newSupportsSync)
 
QSharedPointer< DeviceProfiledeviceProfile () const
 
void setDeviceProfile (QSharedPointer< DeviceProfile > newDeviceProfile)
 
QString appStoreUrl () const
 
void setAppStoreUrl (QString newAppStoreUrl)
 
bool appStoreUrlNull () const
 
void setAppStoreUrlNull ()
 
QString iconUrl () const
 
void setIconUrl (QString newIconUrl)
 
bool iconUrlNull () const
 
void setIconUrlNull ()
 

Static Public Member Functions

static ClientCapabilities fromJson (QJsonObject source)
 

Protected Attributes

QStringList m_playableMediaTypes
 
QList< GeneralCommandTypem_supportedCommands
 
bool m_supportsMediaControl
 
bool m_supportsContentUploading
 
QString m_messageCallbackUrl
 
bool m_supportsPersistentIdentifier
 
bool m_supportsSync
 
QSharedPointer< DeviceProfilem_deviceProfile = QSharedPointer<DeviceProfile>()
 
QString m_appStoreUrl
 
QString m_iconUrl
 

Constructor & Destructor Documentation

◆ ClientCapabilities() [1/2]

Jellyfin::DTO::ClientCapabilities::ClientCapabilities ( bool supportsMediaControl,
bool supportsContentUploading,
bool supportsPersistentIdentifier,
bool supportsSync,
QSharedPointer< DeviceProfile > deviceProfile )

◆ ClientCapabilities() [2/2]

Jellyfin::DTO::ClientCapabilities::ClientCapabilities ( const ClientCapabilities & other)

Member Function Documentation

◆ appStoreUrl()

QString Jellyfin::DTO::ClientCapabilities::appStoreUrl ( ) const

◆ appStoreUrlNull()

bool Jellyfin::DTO::ClientCapabilities::appStoreUrlNull ( ) const

◆ deviceProfile()

QSharedPointer< DeviceProfile > Jellyfin::DTO::ClientCapabilities::deviceProfile ( ) const

◆ fromJson()

ClientCapabilities Jellyfin::DTO::ClientCapabilities::fromJson ( QJsonObject source)
static

◆ iconUrl()

QString Jellyfin::DTO::ClientCapabilities::iconUrl ( ) const

◆ iconUrlNull()

bool Jellyfin::DTO::ClientCapabilities::iconUrlNull ( ) const

◆ messageCallbackUrl()

QString Jellyfin::DTO::ClientCapabilities::messageCallbackUrl ( ) const

◆ messageCallbackUrlNull()

bool Jellyfin::DTO::ClientCapabilities::messageCallbackUrlNull ( ) const

◆ playableMediaTypes()

QStringList Jellyfin::DTO::ClientCapabilities::playableMediaTypes ( ) const

◆ playableMediaTypesNull()

bool Jellyfin::DTO::ClientCapabilities::playableMediaTypesNull ( ) const

◆ replaceData()

void Jellyfin::DTO::ClientCapabilities::replaceData ( ClientCapabilities & other)

Replaces the data being hold by this class with that of the other.

◆ setAppStoreUrl()

void Jellyfin::DTO::ClientCapabilities::setAppStoreUrl ( QString newAppStoreUrl)

◆ setAppStoreUrlNull()

void Jellyfin::DTO::ClientCapabilities::setAppStoreUrlNull ( )

◆ setDeviceProfile()

void Jellyfin::DTO::ClientCapabilities::setDeviceProfile ( QSharedPointer< DeviceProfile > newDeviceProfile)

◆ setFromJson()

void Jellyfin::DTO::ClientCapabilities::setFromJson ( QJsonObject source)

◆ setIconUrl()

void Jellyfin::DTO::ClientCapabilities::setIconUrl ( QString newIconUrl)

◆ setIconUrlNull()

void Jellyfin::DTO::ClientCapabilities::setIconUrlNull ( )

◆ setMessageCallbackUrl()

void Jellyfin::DTO::ClientCapabilities::setMessageCallbackUrl ( QString newMessageCallbackUrl)

◆ setMessageCallbackUrlNull()

void Jellyfin::DTO::ClientCapabilities::setMessageCallbackUrlNull ( )

◆ setPlayableMediaTypes()

void Jellyfin::DTO::ClientCapabilities::setPlayableMediaTypes ( QStringList newPlayableMediaTypes)

◆ setPlayableMediaTypesNull()

void Jellyfin::DTO::ClientCapabilities::setPlayableMediaTypesNull ( )

◆ setSupportedCommands()

void Jellyfin::DTO::ClientCapabilities::setSupportedCommands ( QList< GeneralCommandType > newSupportedCommands)

◆ setSupportedCommandsNull()

void Jellyfin::DTO::ClientCapabilities::setSupportedCommandsNull ( )

◆ setSupportsContentUploading()

void Jellyfin::DTO::ClientCapabilities::setSupportsContentUploading ( bool newSupportsContentUploading)

◆ setSupportsMediaControl()

void Jellyfin::DTO::ClientCapabilities::setSupportsMediaControl ( bool newSupportsMediaControl)

◆ setSupportsPersistentIdentifier()

void Jellyfin::DTO::ClientCapabilities::setSupportsPersistentIdentifier ( bool newSupportsPersistentIdentifier)

◆ setSupportsSync()

void Jellyfin::DTO::ClientCapabilities::setSupportsSync ( bool newSupportsSync)

◆ supportedCommands()

QList< GeneralCommandType > Jellyfin::DTO::ClientCapabilities::supportedCommands ( ) const

◆ supportedCommandsNull()

bool Jellyfin::DTO::ClientCapabilities::supportedCommandsNull ( ) const

◆ supportsContentUploading()

bool Jellyfin::DTO::ClientCapabilities::supportsContentUploading ( ) const

◆ supportsMediaControl()

bool Jellyfin::DTO::ClientCapabilities::supportsMediaControl ( ) const

◆ supportsPersistentIdentifier()

bool Jellyfin::DTO::ClientCapabilities::supportsPersistentIdentifier ( ) const

◆ supportsSync()

bool Jellyfin::DTO::ClientCapabilities::supportsSync ( ) const

◆ toJson()

QJsonObject Jellyfin::DTO::ClientCapabilities::toJson ( ) const

Member Data Documentation

◆ m_appStoreUrl

QString Jellyfin::DTO::ClientCapabilities::m_appStoreUrl
protected

◆ m_deviceProfile

QSharedPointer<DeviceProfile> Jellyfin::DTO::ClientCapabilities::m_deviceProfile = QSharedPointer<DeviceProfile>()
protected

◆ m_iconUrl

QString Jellyfin::DTO::ClientCapabilities::m_iconUrl
protected

◆ m_messageCallbackUrl

QString Jellyfin::DTO::ClientCapabilities::m_messageCallbackUrl
protected

◆ m_playableMediaTypes

QStringList Jellyfin::DTO::ClientCapabilities::m_playableMediaTypes
protected

◆ m_supportedCommands

QList<GeneralCommandType> Jellyfin::DTO::ClientCapabilities::m_supportedCommands
protected

◆ m_supportsContentUploading

bool Jellyfin::DTO::ClientCapabilities::m_supportsContentUploading
protected

◆ m_supportsMediaControl

bool Jellyfin::DTO::ClientCapabilities::m_supportsMediaControl
protected

◆ m_supportsPersistentIdentifier

bool Jellyfin::DTO::ClientCapabilities::m_supportsPersistentIdentifier
protected

◆ m_supportsSync

bool Jellyfin::DTO::ClientCapabilities::m_supportsSync
protected

The documentation for this class was generated from the following files: