/// <summary> /// Schedule the notification /// </summary> /// <param name="notif">Notification to be scheduled</param> public static void scheduleNotification(Notification notif) { #if UNITY_ANDROID && !UNITY_EDITOR NotificationTracker.TrackId(notif.ID); notifHandlerClass.CallStatic("scheduleNotification", notif.Delay, notif.ID, notif.Title, notif.Body, notif.Ticker, notif.SmallIcon, notif.LargeIcon, notif.Defaults, notif.AutoCancel, notif.Sound, notif.VibratePattern, notif.When, notif.IsRepeating, notif.Interval, notif.Number, notif.AlertOnce, notif.Color, _dataHolder.unityClass, notif.Group, notif.SortKey); #endif }
public static void scheduleNotification(Notification notif) { NotificationTracker.TrackId(notif.ID); object[] args = new object[] { notif.Delay, notif.ID, notif.Title, notif.Body, notif.Ticker, notif.SmallIcon, notif.LargeIcon, notif.Defaults, notif.AutoCancel, notif.Sound, notif.VibratePattern, notif.When, notif.IsRepeating, notif.Interval, notif.Number, notif.AlertOnce, notif.Color, _dataHolder.unityClass, notif.Group, notif.SortKey, notif.GroupId }; notifHandlerClass.CallStatic("scheduleNotification", args); }