Data Fields

osso_hw_state_t Struct Reference
[Device state]

#include <libosso.h>

Data Fields

gboolean shutdown_ind
gboolean save_unsaved_data_ind
gboolean memory_low_ind
gboolean system_inactivity_ind
osso_devmode_t sig_device_mode_ind

Detailed Description

This structure represents the device state. NOTE: Libosso sets value of save_unsaved_data_ind to 1 when the signal arrived and back to 0 after calling the application callback.


Field Documentation

The system is low on memory

The application should save unsaved user data (see Autosaving functions)

The device is about to be shut down

The mode of the device

The application should reduce its activity. This also means that the display went off/on.


The documentation for this struct was generated from the following file: