public static void onLaunchWebAuthFlowCallback(string responseUrl, int callbackId) { launchWebAuthFlowCallback callback = CallbackRegisrty.GetCallback <launchWebAuthFlowCallback> (callbackId); if (callback != null) { callback(responseUrl, callbackId); } }
public static void onGetProfileUserInfo(string userInfo, int callbackId) { getProfileUserInfoCallback callback = CallbackRegisrty.GetCallback <getProfileUserInfoCallback> (callbackId); if (callback != null) { callback(userInfo, callbackId); } }
public static void onGetAuthToken(string token, int callbackId) { getAuthTokenCallback callback = CallbackRegisrty.GetCallback <getAuthTokenCallback> (callbackId); if (callback != null) { callback(token, callbackId); } }
public static void onClearNotificationCallback(bool wasCleared, int callbackId) { clearNotificationCallback callback = CallbackRegisrty.GetCallback <clearNotificationCallback> (callbackId); if (callback != null) { callback(wasCleared, callbackId); } }
public static void onUpdateNotificationCallback(bool wasUpdated, int callbackId) { updateNotificationCallback callback = CallbackRegisrty.GetCallback <updateNotificationCallback> (callbackId); if (callback != null) { callback(wasUpdated, callbackId); } }
public static void onCreateNotificationCallback(string notificationId, int callbackId) { createNotificationCallback callback = CallbackRegisrty.GetCallback <createNotificationCallback> (callbackId); if (callback != null) { callback(notificationId, callbackId); } }