コード例 #1
0
 void OnApplicationPause(bool isPause)
 {
     if (!isPause)
     {
         IOSLocalNotification.CancelAllNotifications();
         IOSLocalNotification.CleanIconBadge();
     }
 }
コード例 #2
0
 public void CheckNotificationRegistered()
 {
     if (IOSLocalNotification.IsNotificationPermitted())
     {
         Debug.Log("Notification settings registered");
     }
     else
     {
         Debug.Log("Notification settings NOT permitted");
     }
 }
コード例 #3
0
 public void RegisterNotificationSettings()
 {
     IOSLocalNotification.RegisterNotificationSettings();
 }
コード例 #4
0
 public void OpenApplicationSettings()
 {
     IOSLocalNotification.OpenAppSettingPage();
 }
コード例 #5
0
 public void SetNotification()
 {
     IOSLocalNotification.SetNotification("Hello world", 10);
 }