#include <mythfrontend/services/mythfrontendservice.h>
|
static Q_CLASSINFO("GetContextList", "name=StringList") public slots bool | SendKey (const QString &Key) |
|
static FrontendActionList * | GetActionList (const QString &Context) |
|
static QStringList | GetContextList () |
|
static FrontendStatus * | GetStatus () |
|
static bool | PlayVideo (const QString &Id, bool UseBookmark) |
|
static bool | PlayRecording (int RecordedId, int ChanId, const QDateTime &StartTime) |
|
static bool | SendMessage (const QString &Message, uint Timeout) |
|
static bool | SendNotification (bool Error, const QString &Type, const QString &Message, const QString &Origin, const QString &Description, const QString &Image, const QString &Extra, const QString &ProgressText, float Progress, std::chrono::seconds Timeout, bool Fullscreen, uint Visibility, uint Priority) |
| Send a notification to the frontend. More...
|
|
Definition at line 48 of file mythfrontendservice.h.
◆ MythFrontendService()
MythFrontendService::MythFrontendService |
( |
| ) |
|
◆ ~MythFrontendService()
MythFrontendService::~MythFrontendService |
( |
| ) |
|
|
overridedefault |
◆ SendKey()
bool MythFrontendService::SendKey |
( |
const QString & |
Key | ) |
|
|
staticprivate |
◆ GetActionList()
◆ GetContextList()
QStringList MythFrontendService::GetContextList |
( |
| ) |
|
|
staticprivate |
◆ GetStatus()
◆ PlayVideo()
bool MythFrontendService::PlayVideo |
( |
const QString & |
Id, |
|
|
bool |
UseBookmark |
|
) |
| |
|
staticprivate |
◆ PlayRecording()
bool MythFrontendService::PlayRecording |
( |
int |
RecordedId, |
|
|
int |
ChanId, |
|
|
const QDateTime & |
StartTime |
|
) |
| |
|
staticprivate |
◆ SendMessage()
bool MythFrontendService::SendMessage |
( |
const QString & |
Message, |
|
|
uint |
Timeout |
|
) |
| |
|
staticprivate |
◆ SendNotification()
bool MythFrontendService::SendNotification |
( |
bool |
Error, |
|
|
const QString & |
Type, |
|
|
const QString & |
Message, |
|
|
const QString & |
Origin, |
|
|
const QString & |
Description, |
|
|
const QString & |
Image, |
|
|
const QString & |
Extra, |
|
|
const QString & |
ProgressText, |
|
|
float |
Progress, |
|
|
std::chrono::seconds |
Timeout, |
|
|
bool |
Fullscreen, |
|
|
uint |
Visibility, |
|
|
uint |
Priority |
|
) |
| |
|
staticprivate |
Send a notification to the frontend.
- Note
- Complete use of this method (i.e. using all available parameters) will probably not work as expected as Qt's invoke calls are limited to 10 parameters (one of which is the return type).
Definition at line 174 of file mythfrontendservice.cpp.
◆ RegisterCustomTypes()
static void MythFrontendService::RegisterCustomTypes |
( |
| ) |
|
|
static |
◆ IsValidAction()
bool MythFrontendService::IsValidAction |
( |
const QString & |
Action | ) |
|
|
staticprotected |
The documentation for this class was generated from the following files: