Errors | |
| #define | ALP_STATUS_ALARM_BAD_PARAM (ALP_CLASS_ALARM | 0x00020000) |
| Supplied application ID is invalid, either being NULL or exceeding ALP_ALARM_MAX_APPID_SIZE or requested alarm time has already passed. | |
| #define | ALP_STATUS_ALARM_IPC (ALP_CLASS_ALARM | 0x00030000) |
| IPC error occurred during function call. | |
| #define | ALP_STATUS_ALARM_NO_MEMORY (ALP_CLASS_ALARM | 0x00010000) |
| Unable to allocation memory to complete function call. | |
Defines | |
| #define | ALP_ALARM_MAX_APPID_SIZE 64 |
| Maximum size of an application ID. | |
| #define | ALP_ALARM_REASON_NORMAL "normal" |
| normal alarm expiration | |
| #define | ALP_ALARM_REASON_RESTART "restart" |
| alarm expired prior to alarm manager (re)start | |
| #define | ALP_ALARM_REASON_SYSTIME_CHANGE "time-change" |
| systime change caused alarm to expire earlier than expected | |
Functions | |
| alp_status_t | alp_alarm_get (const gchar *appID, guint32 ref, guint32 *alarmSeconds) |
| Return the current setting for an alarm. | |
| alp_status_t | alp_alarm_set (const gchar *appID, guint32 ref, guint32 alarmSeconds) |
| Set or cancel an alarm for the given application. | |
|
|
Maximum size of an application ID.
|
|
|
normal alarm expiration
|
|
|
alarm expired prior to alarm manager (re)start
|
|
|
systime change caused alarm to expire earlier than expected
|
|
|
Supplied application ID is invalid, either being NULL or exceeding ALP_ALARM_MAX_APPID_SIZE or requested alarm time has already passed.
|
|
|
IPC error occurred during function call.
|
|
|
Unable to allocation memory to complete function call.
|
|
||||||||||||||||
|
Return the current setting for an alarm. Returns the date and time in seconds since 01/01/1970 UTC for the given application ID and alarm reference number.
|
|
||||||||||||||||
|
Set or cancel an alarm for the given application.
|
Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.