static bool n_Handle_Lcom_liveperson_api_request_GetClock_Response_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Liveperson.Messaging.Network.Socket.General_requests.ClockRequest.ClockResponseHandler __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Network.Socket.General_requests.ClockRequest.ClockResponseHandler> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Liveperson.Api.Request.GetClock.Response p0 = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Api.Request.GetClock.Response> (native_p0, JniHandleOwnership.DoNotTransfer); bool __ret = __this.Handle(p0); return(__ret); }
protected new virtual unsafe bool Handle(global::Com.Liveperson.Api.Request.GetClock.Response p0) { if (id_handle_Lcom_liveperson_api_request_GetClock_Response_ == IntPtr.Zero) { id_handle_Lcom_liveperson_api_request_GetClock_Response_ = JNIEnv.GetMethodID(class_ref, "handle", "(Lcom/liveperson/api/request/GetClock$Response;)Z"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); bool __ret; if (((object)this).GetType() == ThresholdType) { __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_handle_Lcom_liveperson_api_request_GetClock_Response_, __args); } else { __ret = JNIEnv.CallNonvirtualBooleanMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "handle", "(Lcom/liveperson/api/request/GetClock$Response;)Z"), __args); } return(__ret); } finally { } }
static IntPtr n_GetBody(IntPtr jnienv, IntPtr native__this) { global::Com.Liveperson.Api.Request.GetClock.Response __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Api.Request.GetClock.Response> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.GetBody())); }