Deleting or Disabling an Alarm
An
Alarm
remains active until you delete it or disable it. To delete the alarm, obtain a managed object reference to the Alarm
and invoke its RemoveAlarm
operation.To disable the
Alarm
, obtain managed object references to the AlarmManager
and to the entity on which the Alarm
is set. Call AlarmManager.EnableAlarmActions
operation, passing the value false
for the enabled
parameter.