public unsafe void OnSuccess(global::Com.Liveperson.Monitoring.Sdk.Responses.LPSdeResponse p0) { if (id_onSuccess_Lcom_liveperson_monitoring_sdk_responses_LPSdeResponse_ == IntPtr.Zero) { id_onSuccess_Lcom_liveperson_monitoring_sdk_responses_LPSdeResponse_ = JNIEnv.GetMethodID(class_ref, "onSuccess", "(Lcom/liveperson/monitoring/sdk/responses/LPSdeResponse;)V"); } JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onSuccess_Lcom_liveperson_monitoring_sdk_responses_LPSdeResponse_, __args); }
static void n_OnSuccess_Lcom_liveperson_monitoring_sdk_responses_LPSdeResponse_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Liveperson.Monitoring.Sdk.Callbacks.ISdeCallback __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Monitoring.Sdk.Callbacks.ISdeCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Liveperson.Monitoring.Sdk.Responses.LPSdeResponse p0 = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Monitoring.Sdk.Responses.LPSdeResponse> (native_p0, JniHandleOwnership.DoNotTransfer); __this.OnSuccess(p0); }