Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
"EventBus" object through which "events" are sent. More...
#include <eventbus.h>
Signals | |
void | itemUserDataUpdated (const QString &itemId, const DTO::UserItemDataDto &userData) |
The UserData of an Item has been updated. | |
void | sessionInfoUpdated (const QString &sessionId, const DTO::SessionInfo &sessionInfo) |
The information about a session has been updated. | |
void | displayMessage (const QString &header, const QString &message, int timeout=-1) |
The server has requested to display an message to the user. | |
void | playstateCommandReceived (const Jellyfin::DTO::PlaystateRequest &request) |
Public Member Functions | |
EventBus (QObject *parent=nullptr) | |
"EventBus" object through which "events" are sent.
|
explicit |
|
signal |
The server has requested to display an message to the user.
header | The header of the message. |
message | The message to show. |
timeout | Timeout in MS to show the message. -1: no timeout supplied. |
|
signal |
The UserData of an Item has been updated.
itemId | The id of the item which was updated. |
userData | The new userData |
|
signal |
|
signal |
The information about a session has been updated.
sessionId | The id of the session |
sessionInfo | The associated information |