Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
Abstract class for describing a playback session that can be controlled. More...
#include <controllablesession.h>
Public Member Functions | |
ControllableSession (QObject *parent=nullptr) | |
virtual QString | id () const =0 |
An unique id for this session. | |
virtual QString | name () const =0 |
An human-readable name for this session. | |
virtual QString | appName () const =0 |
The app for this session. | |
virtual DeviceType | deviceType () const =0 |
virtual QString | userName () const =0 |
user The username of who started this session | |
virtual PlaybackManager * | createPlaybackManager () const =0 |
Creates a playbackManager for this device. This PlaybackManager has no QObject parent and must be cleaned up by the caller. | |
Abstract class for describing a playback session that can be controlled.
Main purpose for this class is to hold information for displaying it in a UI for an user to select and to create an implementation of a PlaybackManager instance to control this session.
|
explicit |
|
pure virtual |
The app for this session.
Implemented in Jellyfin::Model::ControllableJellyfinSession, and Jellyfin::Model::LocalSession.
|
pure virtual |
Creates a playbackManager for this device. This PlaybackManager has no QObject parent and must be cleaned up by the caller.
Implemented in Jellyfin::Model::ControllableJellyfinSession, and Jellyfin::Model::LocalSession.
|
pure virtual |
Implemented in Jellyfin::Model::ControllableJellyfinSession, and Jellyfin::Model::LocalSession.
|
pure virtual |
An unique id for this session.
Implemented in Jellyfin::Model::ControllableJellyfinSession, and Jellyfin::Model::LocalSession.
|
pure virtual |
An human-readable name for this session.
Implemented in Jellyfin::Model::ControllableJellyfinSession, and Jellyfin::Model::LocalSession.
|
pure virtual |
user The username of who started this session
Implemented in Jellyfin::Model::ControllableJellyfinSession, and Jellyfin::Model::LocalSession.