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

#include <controllablesession.h>

Inheritance diagram for Jellyfin::Model::RemoteSessionScanner:
Jellyfin::Model::RemoteJellyfinSessionScanner

Signals

void sessionFound (Jellyfin::Model::ControllableSession *session)
 
void sessionLost (const QString &sessionId)
 
void resetSessions ()
 

Public Member Functions

 RemoteSessionScanner (QObject *parent=nullptr)
 
virtual void startScanning ()=0
 
virtual void stopScanning ()=0
 

Detailed Description

Abstract class for finding remotely controllable sessions

Constructor & Destructor Documentation

◆ RemoteSessionScanner()

Jellyfin::Model::RemoteSessionScanner::RemoteSessionScanner ( QObject * parent = nullptr)
explicit

Member Function Documentation

◆ resetSessions

void Jellyfin::Model::RemoteSessionScanner::resetSessions ( )
signal

Should be emitted when the listener should delete all sessions by this discoverer.

◆ sessionFound

void Jellyfin::Model::RemoteSessionScanner::sessionFound ( Jellyfin::Model::ControllableSession * session)
signal

This signal should be emitted when an session has been discovered. The session should be reparented to whoever is listening for this signal.

◆ sessionLost

void Jellyfin::Model::RemoteSessionScanner::sessionLost ( const QString & sessionId)
signal

Should be emitted when an session is gone.

◆ startScanning()

virtual void Jellyfin::Model::RemoteSessionScanner::startScanning ( )
pure virtual

The session scanner should start discovering sessions

Implemented in Jellyfin::Model::RemoteJellyfinSessionScanner.

◆ stopScanning()

virtual void Jellyfin::Model::RemoteSessionScanner::stopScanning ( )
pure virtual

The session scanner should stop discovering sessions

Implemented in Jellyfin::Model::RemoteJellyfinSessionScanner.


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