public void TagsAvailable(JSONObject jsonObject) { Dictionary <string, object> dict = null; if (jsonObject != null) { dict = Json.Deserialize(jsonObject.ToString()) as Dictionary <string, object>; } OneSignal.tagsAvailableDelegate(dict); }
public void OnFailure(JSONObject jsonObject) { Dictionary <string, object> dict = null; if (jsonObject != null) { dict = Json.Deserialize(jsonObject.ToString()) as Dictionary <string, object>; } OneSignal.onPostNotificationFailureDelegate(dict); }
public void NotificationOpened(string message, JSONObject additionalData, bool isActive) { Dictionary <string, object> dict = null; if (additionalData != null) { dict = Json.Deserialize(additionalData.ToString()) as Dictionary <string, object>; } OneSignal.notificationOpenedDelegate(message, dict, isActive); }
public void PostNotificationFailureHandler(Foundation.NSError error) { if (error.UserInfo != null && error.UserInfo ["returned"] != null) { Dictionary <string, object> dict = NSDictToPureDict(error.UserInfo); OneSignal.onPostNotificationFailed(dict); } else { OneSignal.onPostNotificationFailed(new Dictionary <string, object> { { "error", "HTTP no response error" } }); } }
public void EndInit() { OneSignal.Init(); }
public void PostNotificationSuccessHandler(Foundation.NSDictionary result) { Dictionary <string, object> dict = NSDictToPureDict(result); OneSignal.onPostNotificationSuccess(dict); }
public void GetTagsHandler(Foundation.NSDictionary result) { Dictionary <string, object> dict = NSDictToPureDict(result); OneSignal.onTagsReceived(dict); }
public void NotificationReceivedHandler(iOS.OSNotification notification) { OneSignal.onPushNotificationReceived(OSNotificationToNative(notification)); }
public void NotificationOpenedHandler(iOS.OSNotificationOpenedResult result) { OneSignal.onPushNotificationOpened(OSNotificationOpenedResultToNative(result)); }
public void IdsAvailableHandler(string playerID, string pushToken) { OneSignal.onIdsAvailable(playerID, pushToken); }
public void IdsAvailable(string p0, string p1) { OneSignal.idsAvailableDelegate(p0, p1); }
public void NotificationOpened(Android.OSNotificationOpenResult result) { OneSignal.onPushNotificationOpened(OSNotificationOpenedResultToNative(result)); }
public void NotificationReceived(Android.OSNotification notification) { OneSignal.onPushNotificationReceived(OSNotificationToNative(notification)); }
public void IdsAvailable(string p0, string p1) { OneSignal.onIdsAvailable(p0, p1); }