Action: CANCEL_ALARMΒΆ

This action is used to cancel an alarm set previously using action SET_ALARM.

Attributes Value Mandatory
action_name CANCEL_ALARM Yes
event_list comma separated list of events, eg: TAP Yes
_id ‘all’ or ‘_id’ of the alarm as returned from SET_ALARM Yes

If the ‘_id’ does not exists, then a message will be written in the logcat that the alarm is not found with the given _id.

Example 1

Cancel an alarm with _id = 1

<action action_name="CANCEL_ALARM" input_parameter_list="CONSTANT:1" target_parameter_list="_id"/>