Пример #1
0
        public static void onLaunchWebAuthFlowCallback(string responseUrl, int callbackId)
        {
            launchWebAuthFlowCallback callback = CallbackRegisrty.GetCallback <launchWebAuthFlowCallback> (callbackId);

            if (callback != null)
            {
                callback(responseUrl, callbackId);
            }
        }
Пример #2
0
        public static void onGetProfileUserInfo(string userInfo, int callbackId)
        {
            getProfileUserInfoCallback callback = CallbackRegisrty.GetCallback <getProfileUserInfoCallback> (callbackId);

            if (callback != null)
            {
                callback(userInfo, callbackId);
            }
        }
Пример #3
0
        public static void onGetAuthToken(string token, int callbackId)
        {
            getAuthTokenCallback callback = CallbackRegisrty.GetCallback <getAuthTokenCallback> (callbackId);

            if (callback != null)
            {
                callback(token, callbackId);
            }
        }
Пример #4
0
        public static void onClearNotificationCallback(bool wasCleared, int callbackId)
        {
            clearNotificationCallback callback = CallbackRegisrty.GetCallback <clearNotificationCallback> (callbackId);

            if (callback != null)
            {
                callback(wasCleared, callbackId);
            }
        }
Пример #5
0
        public static void onUpdateNotificationCallback(bool wasUpdated, int callbackId)
        {
            updateNotificationCallback callback = CallbackRegisrty.GetCallback <updateNotificationCallback> (callbackId);

            if (callback != null)
            {
                callback(wasUpdated, callbackId);
            }
        }
Пример #6
0
        public static void onCreateNotificationCallback(string notificationId, int callbackId)
        {
            createNotificationCallback callback = CallbackRegisrty.GetCallback <createNotificationCallback> (callbackId);

            if (callback != null)
            {
                callback(notificationId, callbackId);
            }
        }