Music Hub ..
A session-wide music playback service
Loading...
Searching...
No Matches
lomiri::MediaHubService::power::DisplayInterface Class Reference
Collaboration diagram for lomiri::MediaHubService::power::DisplayInterface:

Public Types

using Callback = std::function<void(void)>

Public Member Functions

 DisplayInterface ()
void requestDisplayOn (const Callback &cb)
void releaseDisplayOn (const Callback &cb)

Detailed Description

Definition at line 52 of file state_controller.cpp.

Member Typedef Documentation

◆ Callback

Definition at line 63 of file state_controller.cpp.

Constructor & Destructor Documentation

◆ DisplayInterface()

lomiri::MediaHubService::power::DisplayInterface::DisplayInterface ( )
inline

Definition at line 54 of file state_controller.cpp.

Member Function Documentation

◆ releaseDisplayOn()

void lomiri::MediaHubService::power::DisplayInterface::releaseDisplayOn ( const Callback & cb)
inline

Definition at line 86 of file state_controller.cpp.

References MH_ERROR, and MH_WARNING.

◆ requestDisplayOn()

void lomiri::MediaHubService::power::DisplayInterface::requestDisplayOn ( const Callback & cb)
inline

Definition at line 65 of file state_controller.cpp.

References MH_ERROR.


The documentation for this class was generated from the following file:
  • /build/media-hub-4.7~20260316060616.27~fbd9644+ubports26.04.1/src/service/power/state_controller.cpp