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

#include <clientcapabilitiesdto.h>

Public Member Functions

 ClientCapabilitiesDto (QList< MediaType > playableMediaTypes, QList< GeneralCommandType > supportedCommands, bool supportsMediaControl, bool supportsPersistentIdentifier, QSharedPointer< DeviceProfile > deviceProfile)
 ClientCapabilitiesDto (const ClientCapabilitiesDto &other)
void replaceData (ClientCapabilitiesDto &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
QList< MediaTypeplayableMediaTypes () const
 Gets or sets the list of playable media types.
void setPlayableMediaTypes (QList< MediaType > newPlayableMediaTypes)
 Gets or sets the list of playable media types.
QList< GeneralCommandTypesupportedCommands () const
 Gets or sets the list of supported commands.
void setSupportedCommands (QList< GeneralCommandType > newSupportedCommands)
 Gets or sets the list of supported commands.
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 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.
QSharedPointer< DeviceProfiledeviceProfile () 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

QList< MediaTypem_playableMediaTypes
QList< GeneralCommandTypem_supportedCommands
bool m_supportsMediaControl
bool m_supportsPersistentIdentifier
QSharedPointer< DeviceProfilem_deviceProfile = QSharedPointer<DeviceProfile>()
QString m_appStoreUrl
QString m_iconUrl

Constructor & Destructor Documentation

◆ ClientCapabilitiesDto() [1/2]

Jellyfin::DTO::ClientCapabilitiesDto::ClientCapabilitiesDto ( QList< MediaType > playableMediaTypes,
QList< GeneralCommandType > supportedCommands,
bool supportsMediaControl,
bool supportsPersistentIdentifier,
QSharedPointer< DeviceProfile > deviceProfile )

◆ ClientCapabilitiesDto() [2/2]

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

Member Function Documentation

◆ appStoreUrl()

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

Gets or sets the app store url.

◆ appStoreUrlNull()

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

◆ deviceProfile()

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

◆ fromJson()

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

◆ iconUrl()

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

Gets or sets the icon url.

◆ iconUrlNull()

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

◆ playableMediaTypes()

QList< MediaType > Jellyfin::DTO::ClientCapabilitiesDto::playableMediaTypes ( ) const

Gets or sets the list of playable media types.

◆ replaceData()

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

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

◆ setAppStoreUrl()

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

Gets or sets the app store url.

◆ setAppStoreUrlNull()

void Jellyfin::DTO::ClientCapabilitiesDto::setAppStoreUrlNull ( )

◆ setDeviceProfile()

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

◆ setFromJson()

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

◆ setIconUrl()

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

Gets or sets the icon url.

◆ setIconUrlNull()

void Jellyfin::DTO::ClientCapabilitiesDto::setIconUrlNull ( )

◆ setPlayableMediaTypes()

void Jellyfin::DTO::ClientCapabilitiesDto::setPlayableMediaTypes ( QList< MediaType > newPlayableMediaTypes)

Gets or sets the list of playable media types.

◆ setSupportedCommands()

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

Gets or sets the list of supported commands.

◆ setSupportsMediaControl()

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

Gets or sets a value indicating whether session supports media control.

◆ setSupportsPersistentIdentifier()

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

Gets or sets a value indicating whether session supports a persistent identifier.

◆ supportedCommands()

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

Gets or sets the list of supported commands.

◆ supportsMediaControl()

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

Gets or sets a value indicating whether session supports media control.

◆ supportsPersistentIdentifier()

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

Gets or sets a value indicating whether session supports a persistent identifier.

◆ toJson()

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

Member Data Documentation

◆ m_appStoreUrl

QString Jellyfin::DTO::ClientCapabilitiesDto::m_appStoreUrl
protected

◆ m_deviceProfile

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

◆ m_iconUrl

QString Jellyfin::DTO::ClientCapabilitiesDto::m_iconUrl
protected

◆ m_playableMediaTypes

QList<MediaType> Jellyfin::DTO::ClientCapabilitiesDto::m_playableMediaTypes
protected

◆ m_supportedCommands

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

◆ m_supportsMediaControl

bool Jellyfin::DTO::ClientCapabilitiesDto::m_supportsMediaControl
protected

◆ m_supportsPersistentIdentifier

bool Jellyfin::DTO::ClientCapabilitiesDto::m_supportsPersistentIdentifier
protected

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