예제 #1
0
 public void SetUseLocalPushNotification(bool use, int notificationId, Push.SetUsePushNotificationDelegate callback)
 {
     Log.Debug("[PushiOS] not supported API");
     if (null != callback)
     {
         Result result = new Result(Result.NETMARBLES_DOMAIN, Result.NOT_SUPPORTED, "Not supported API");
         callback(result);
     }
 }
예제 #2
0
        public int SetSetUsePushNotificationCallback(Push.SetUsePushNotificationDelegate callback)
        {
            if (null == callback)
            {
                return(0);
            }

            int handlerNum = CallbackManager.AddHandler(delegate(CallbackMessage message)
            {
                Log.Debug("[PushCallback] SetUsePushNotificationCallback: " + message);

                Result result = message.GetResult();

                if (null != callback)
                {
                    callback(result);
                }
            });

            return(handlerNum);
        }
예제 #3
0
        public void SetUseLocalPushNotification(bool use, int notificationId, Push.SetUsePushNotificationDelegate callback)
        {
            int handlerNum = pushCallback.SetSetUsePushNotificationCallback(callback);

            pushAndroidClass.CallStatic("nmg_push_setUseLocalPushNotification", use, notificationId, handlerNum);
        }
예제 #4
0
 public void SetUseLocalPushNotification(bool use, int notificationId, Push.SetUsePushNotificationDelegate callback)
 {
 }