コード例 #1
0
 public void AreNotificationsAuthorized(Action <bool> authorized)
 {
     authorized?.Invoke(AndroidNotificationCenterExtensions.AreNotificationsEnabled());
 }
コード例 #2
0
 public void AreNotificationsAuthorized(string channelId, Action <bool> authorized)
 {
     authorized?.Invoke(AndroidNotificationCenterExtensions.AreNotificationsEnabled(channelId));
 }
コード例 #3
0
 static void Register()
 {
     AndroidNotificationCenterExtensions.Initialize();
     GameNotificationsAuthorizationManager.RegisterImplementation(new AndroidGameNotificationAuthorizationManager());
 }