Exemplo n.º 1
0
        /// <summary>
        /// Cancel all displayed notifications only.
        /// </summary>
        public static void CancelAllDisplayed()
        {
            #if UNITY_ANDROID && !UNITY_EDITOR
            new AndroidJavaClass(FullClassName).CallStatic("CancelAllDisplayedNotifications");

            NotificationIdHandler.RemoveAllScheduledNotificaions();
            #endif
        }
 public static void CancelAllDisplayed()
 {
     new AndroidJavaClass("com.hippogames.simpleandroidnotifications.Controller").CallStatic("CancelAllDisplayedNotifications", new object[0]);
     NotificationIdHandler.RemoveAllScheduledNotificaions();
 }