Data Structures | |
struct | osso_hw_state_t |
Typedefs | |
typedef void( | osso_hw_cb_f )(osso_hw_state_t *state, gpointer data) |
Functions | |
osso_return_t | osso_display_state_on (osso_context_t *osso) |
osso_return_t | osso_display_blanking_pause (osso_context_t *osso) |
osso_return_t | osso_hw_set_event_cb (osso_context_t *osso, osso_hw_state_t *state, osso_hw_cb_f *cb, gpointer data) |
osso_return_t | osso_hw_unset_event_cb (osso_context_t *osso, osso_hw_state_t *state) |
|
This is the type for the device event handler.
|
|
Request not to blank display, must be repeated in 60 seconds to renew request.. Used for example by the video player during video playback. Also prevents suspending.
|
|
Request to turn on the display as if the user had pressed the keys or touchscreen. This can be used after completing a long operation such as downloading a webpage or fetching emails.
|
|
This function sets an event handler callback that is called whenever the state of the device changes. The first call to this function will also check the state files for the state of the device, and if the state is set, the corresponding callback function will be called immediately.
|
|
This function unsets an event handler callback.
|