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

A session on the Jellyfin server that can be controlled. More...

#include <controllablesession.h>

Inheritance diagram for Jellyfin::Model::ControllableJellyfinSession:
Jellyfin::Model::ControllableSession

Public Member Functions

 ControllableJellyfinSession (QSharedPointer< DTO::SessionInfo > info, ApiClient &apiClient, QObject *parent=nullptr)
 
QString id () const override
 An unique id for this session.
 
QString name () const override
 An human-readable name for this session.
 
QString appName () const override
 The app for this session.
 
DeviceType deviceType () const override
 
QString userName () const override
 user The username of who started this session
 
PlaybackManagercreatePlaybackManager () const override
 Creates a playbackManager for this device. This PlaybackManager has no QObject parent and must be cleaned up by the caller.
 
- Public Member Functions inherited from Jellyfin::Model::ControllableSession
 ControllableSession (QObject *parent=nullptr)
 

Detailed Description

A session on the Jellyfin server that can be controlled.

Constructor & Destructor Documentation

◆ ControllableJellyfinSession()

Jellyfin::Model::ControllableJellyfinSession::ControllableJellyfinSession ( QSharedPointer< DTO::SessionInfo > info,
ApiClient & apiClient,
QObject * parent = nullptr )

Member Function Documentation

◆ appName()

QString Jellyfin::Model::ControllableJellyfinSession::appName ( ) const
overridevirtual

The app for this session.

Implements Jellyfin::Model::ControllableSession.

◆ createPlaybackManager()

PlaybackManager * Jellyfin::Model::ControllableJellyfinSession::createPlaybackManager ( ) const
overridevirtual

Creates a playbackManager for this device. This PlaybackManager has no QObject parent and must be cleaned up by the caller.

Implements Jellyfin::Model::ControllableSession.

◆ deviceType()

DeviceType Jellyfin::Model::ControllableJellyfinSession::deviceType ( ) const
overridevirtual

◆ id()

QString Jellyfin::Model::ControllableJellyfinSession::id ( ) const
overridevirtual

An unique id for this session.

Implements Jellyfin::Model::ControllableSession.

◆ name()

QString Jellyfin::Model::ControllableJellyfinSession::name ( ) const
overridevirtual

An human-readable name for this session.

Implements Jellyfin::Model::ControllableSession.

◆ userName()

QString Jellyfin::Model::ControllableJellyfinSession::userName ( ) const
overridevirtual

user The username of who started this session

Implements Jellyfin::Model::ControllableSession.


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