UnityEngine.iOS.NotificationServices.PresentLocalNotificationNow C# (CSharp) Method

PresentLocalNotificationNow() private method

private PresentLocalNotificationNow ( LocalNotification notification ) : void
notification LocalNotification
return void
        public static extern void PresentLocalNotificationNow(LocalNotification notification);
        /// <summary>

Usage Example

コード例 #1
0
 public void ClearNotification()
 {
     #if UNITY_IOS
     LocalNotification l = new LocalNotification();
     l.applicationIconBadgeNumber = -1;
     NotificationServices.PresentLocalNotificationNow(l);
     NotificationServices.CancelAllLocalNotifications();
     NotificationServices.ClearLocalNotifications();
     #endif
 }
All Usage Examples Of UnityEngine.iOS.NotificationServices::PresentLocalNotificationNow