public override unsafe void OnFailed(global::Com.Baidu.Mapapi.Http.HttpClient.HttpStateError p0) { const string __id = "onFailed.(Lcom/baidu/mapapi/http/HttpClient$HttpStateError;)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); _members.InstanceMethods.InvokeAbstractVoidMethod(__id, this, __args); } finally { } }
public override unsafe void OnFailed(global::Com.Baidu.Mapapi.Http.HttpClient.HttpStateError p0) { if (id_onFailed_Lcom_baidu_mapapi_http_HttpClient_HttpStateError_ == IntPtr.Zero) { id_onFailed_Lcom_baidu_mapapi_http_HttpClient_HttpStateError_ = JNIEnv.GetMethodID(class_ref, "onFailed", "(Lcom/baidu/mapapi/http/HttpClient$HttpStateError;)V"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onFailed_Lcom_baidu_mapapi_http_HttpClient_HttpStateError_, __args); } finally { } }
public static unsafe global::Com.Baidu.Mapapi.Http.HttpClient.HttpStateError ValueOf(string p0) { if (id_valueOf_Ljava_lang_String_ == IntPtr.Zero) { id_valueOf_Ljava_lang_String_ = JNIEnv.GetStaticMethodID(class_ref, "valueOf", "(Ljava/lang/String;)Lcom/baidu/mapapi/http/HttpClient$HttpStateError;"); } IntPtr native_p0 = JNIEnv.NewString(p0); try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(native_p0); global::Com.Baidu.Mapapi.Http.HttpClient.HttpStateError __ret = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Http.HttpClient.HttpStateError> (JNIEnv.CallStaticObjectMethod(class_ref, id_valueOf_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p0); } }
public abstract void OnFailed(global::Com.Baidu.Mapapi.Http.HttpClient.HttpStateError p0);
static void n_OnFailed_Lcom_baidu_mapapi_http_HttpClient_HttpStateError_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Baidu.Mapapi.Http.HttpClient.ProtoResultCallback __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Http.HttpClient.ProtoResultCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Baidu.Mapapi.Http.HttpClient.HttpStateError p0 = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Http.HttpClient.HttpStateError> (native_p0, JniHandleOwnership.DoNotTransfer); __this.OnFailed(p0); }