private PresentLocalNotificationNow ( |
||
notification | ||
return | void |
public static extern void PresentLocalNotificationNow(LocalNotification notification);
/// <summary>
public void ClearNotification() { #if UNITY_IOS LocalNotification l = new LocalNotification(); l.applicationIconBadgeNumber = -1; NotificationServices.PresentLocalNotificationNow(l); NotificationServices.CancelAllLocalNotifications(); NotificationServices.ClearLocalNotifications(); #endif }