Ejemplo n.º 1
0
 public void DeleteAlarm(int id)
 {
     AlarmHelper.DeleteAlarmByManager(id);
     AlarmHelper.DeletePreAlarmByManager(id);
     NotificationAndroid.CancelLaterNotification(Application.Context, id);
 }
Ejemplo n.º 2
0
 public void SetAlarm(Alarm alarm)
 {
     NotificationAndroid.CancelLaterNotification(Application.Context, alarm.Id);
     AlarmHelper.SetAlarmAtFirst(alarm);
 }