Beispiel #1
0
 protected new unsafe bool Handle(global::Com.Liveperson.Api.Request.SubscribeMessagingEvents.Response p0)
 {
     if (id_handle_Lcom_liveperson_api_request_SubscribeMessagingEvents_Response_ == IntPtr.Zero)
     {
         id_handle_Lcom_liveperson_api_request_SubscribeMessagingEvents_Response_ = JNIEnv.GetMethodID(class_ref, "handle", "(Lcom/liveperson/api/request/SubscribeMessagingEvents$Response;)Z");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         bool __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_handle_Lcom_liveperson_api_request_SubscribeMessagingEvents_Response_, __args);
         return(__ret);
     } finally {
     }
 }
Beispiel #2
0
 protected unsafe global::Com.Liveperson.Api.Request.SubscribeMessagingEvents.Response Parse(global::Org.Json.JSONObject p0)
 {
     if (id_parse_Lorg_json_JSONObject_ == IntPtr.Zero)
     {
         id_parse_Lorg_json_JSONObject_ = JNIEnv.GetMethodID(class_ref, "parse", "(Lorg/json/JSONObject;)Lcom/liveperson/api/request/SubscribeMessagingEvents$Response;");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         global::Com.Liveperson.Api.Request.SubscribeMessagingEvents.Response __ret = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Api.Request.SubscribeMessagingEvents.Response> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_parse_Lorg_json_JSONObject_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }