SysEvent_EventsCallback Function
Header: #include <applibs/sysevent.h>
This function is called when the status of a registered system event changes. Only one SysEvent_Events flag is set because there is only one callback call for each event status change.
typedef void SysEvent_EventsCallback(SysEvent_Events event, SysEvent_Status state,
const SysEvent_Info *info, void *context);
Parameters
event
The event.state
The new status of the event.info
Additional info about the status change. To retrieve the information, pass this pointer to an event-specific function, such as SysEvent_Info_GetUpdateData. The pointer is valid only until the callback returns.context
An optional context pointer that was passed to SysEvent_RegisterForEventNotifications.
Application manifest requirements
The application manifest must include the SystemEventNotifications capability.