public void IBGetUnreceivedNotifications_SUCCESS(string notificationsList) { var list = MiniJSON.Json.DeserializeArrayNoRecursion(notificationsList); foreach (var notifJson in list) { InfobipPushNotification notification = new InfobipPushNotification(notifJson as String); InfobipPush.OnUnreceivedNotificationReceived(notification); } }
public static void AddMediaView(InfobipPushNotification notif, InfobipPushMediaViewCustomization customiz = null) { #if UNITY_IPHONE if (Application.platform == RuntimePlatform.IPhonePlayer) { IBAddMediaView(notif.ToString(), customiz.ToString()); } #elif UNITY_ANDROID InfobipPushInternal.Instance.AddMediaView(notif); #endif }
internal void AddMediaView(InfobipPushNotification notif) { GetCurrentActivity().Call("addMediaView", new object[] { notif.MediaData }); }