예제 #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);
            }
        }