public AndroidLocalPush SetLocalPush(string _title, string _text, DateTime _fireTime) { var newLocalPush = new AndroidLocalPush(_title, _text, _fireTime); this.localPushList.Add(newLocalPush); var id = AndroidNotificationCenter.SendNotification(newLocalPush.notification, "roguenaraka"); newLocalPush.SetId(id); return(newLocalPush); }
public void CancelLocalPush(AndroidLocalPush _push) { this.localPushList.Remove(_push); AndroidNotificationCenter.CancelNotification(_push.id); }