Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <AirTunesServer.h>
Public Member Functions | |
void | Announce (ANNOUNCEMENT::AnnouncementFlag flag, const std::string &sender, const std::string &message, const CVariant &data) override |
void | RegisterActionListener (bool doRegister) |
bool | OnAction (const CAction &action) override |
Handle a GUI action. | |
void | Process () override |
bool | IsRAOPRunningInternal () |
Public Member Functions inherited from ANNOUNCEMENT::IAnnouncer | |
IAnnouncer ()=default | |
virtual | ~IAnnouncer ()=default |
Public Member Functions inherited from KODI::ACTION::IActionListener | |
virtual | ~IActionListener ()=default |
Public Member Functions inherited from CThread | |
CThread (IRunnable *pRunnable, const char *ThreadName) | |
virtual | ~CThread () |
void | Create (bool bAutoDelete=false) |
template<typename Rep , typename Period > | |
void | Sleep (std::chrono::duration< Rep, Period > duration) |
bool | IsAutoDelete () const |
virtual void | StopThread (bool bWait=true) |
bool | IsRunning () const |
bool | IsCurrentThread () const |
bool | Join (std::chrono::milliseconds duration) |
bool | SetPriority (const ThreadPriority &priority) |
Set the threads priority. This uses the platforms native threading library to do so. | |
virtual void | OnException () |
Static Public Member Functions | |
static void | EnableActionProcessing (bool enable) |
static bool | StartServer (int port, bool nonlocal, bool usePassword, const std::string &password="") |
static void | StopServer (bool bWait) |
static bool | IsRunning () |
static void | SetMetadataFromBuffer (const char *buffer, unsigned int size) |
static void | SetCoverArtFromBuffer (const char *buffer, unsigned int size) |
static void | SetupRemoteControl () |
static void | FreeDACPRemote () |
Static Public Member Functions inherited from CThread | |
static const std::thread::id | GetCurrentThreadId () |
static CThread * | GetCurrentThread () |
Additional Inherited Members | |
Protected Types inherited from CThread | |
enum | WaitResponse { WAIT_INTERRUPTED = -1 , WAIT_SIGNALED = 0 , WAIT_TIMEDOUT = 1 } |
Protected Member Functions inherited from CThread | |
CThread (const char *ThreadName) | |
virtual void | OnStartup () |
virtual void | OnExit () |
WaitResponse | AbortableWait (CEvent &event, std::chrono::milliseconds duration=std::chrono::milliseconds(-1)) |
Protected Attributes inherited from CThread | |
std::atomic< bool > | m_bStop |
|
overridevirtual |
Implements ANNOUNCEMENT::IAnnouncer.
|
static |
bool CAirTunesServer::IsRAOPRunningInternal | ( | ) |
|
static |
Handle a GUI action.
action | The GUI action |
Implements KODI::ACTION::IActionListener.
|
static |
|
static |