NotificationServices.GetScheduledNotifications((result, error) =>
INotification[] notifications = result.Notifications;
Debug.Log("Request for fetch scheduled notifications finished successfully.");
Debug.Log("Total notifications scheduled: " + notifications.Length);
Debug.Log("Below are the notifications:");
for (int iter = 0; iter < notifications.Length; iter++)
INotification notification = notifications[iter];
Debug.Log(string.Format("[{0}]: {1}", iter, notification));
Debug.Log("Request for fetch scheduled notifications failed with error. Error: " + error);