static void Schedule(Notification notification, DateTime when, int id, string tag)
        {
            var intent = CreateScheduleNotificationIntent(notification, id, tag);

            if (AGDeviceInfo.SDK_INT >= AGDeviceInfo.VersionCodes.M)
            {
                AndroidAlarmManager.SetExact(intent, when, id);
            }
            else
            {
                AndroidAlarmManager.Set(intent, when, id);
            }
        }
        /// <summary>
        ///     Cancel a scheduled notification.
        /// </summary>
        /// <param name="id">
        ///		The ID of the notification
        /// </param>
        public static void CancelScheduledNotification(int id)
        {
            var intent = CreateScheduleNotificationIntent(new Notification(), id, string.Empty);

            AndroidAlarmManager.Cancel(intent, id);
        }
        static void ScheduleRepeating(Notification notification, DateTime when, int id, string tag, long intervalMillis)
        {
            var intent = CreateScheduleNotificationIntent(notification, id, tag);

            AndroidAlarmManager.SetRepeating(intent, when, intervalMillis, id);
        }