static void n_SetAddress_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Baidu.Mapapi.Search.Geocode.GeoCodeResult __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Search.Geocode.GeoCodeResult> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer); __this.Address = p0; }
#pragma warning restore 0649 public void OnGetGeoCodeResult(global::Com.Baidu.Mapapi.Search.Geocode.GeoCodeResult p0) { var __h = OnGetGeoCodeResultHandler; if (__h != null) { __h(sender, new GetGeoCodeResultEventArgs(p0)); } }
public unsafe void OnGetGeoCodeResult(global::Com.Baidu.Mapapi.Search.Geocode.GeoCodeResult p0) { if (id_onGetGeoCodeResult_Lcom_baidu_mapapi_search_geocode_GeoCodeResult_ == IntPtr.Zero) { id_onGetGeoCodeResult_Lcom_baidu_mapapi_search_geocode_GeoCodeResult_ = JNIEnv.GetMethodID(class_ref, "onGetGeoCodeResult", "(Lcom/baidu/mapapi/search/geocode/GeoCodeResult;)V"); } JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); JNIEnv.CallVoidMethod(Handle, id_onGetGeoCodeResult_Lcom_baidu_mapapi_search_geocode_GeoCodeResult_, __args); }
static void n_OnGetGeoCodeResult_Lcom_baidu_mapapi_search_geocode_GeoCodeResult_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Baidu.Mapapi.Search.Geocode.IOnGetGeoCoderResultListener __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Search.Geocode.IOnGetGeoCoderResultListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Baidu.Mapapi.Search.Geocode.GeoCodeResult p0 = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Search.Geocode.GeoCodeResult> (native_p0, JniHandleOwnership.DoNotTransfer); __this.OnGetGeoCodeResult(p0); }
public GetGeoCodeResultEventArgs(global::Com.Baidu.Mapapi.Search.Geocode.GeoCodeResult p0) { this.p0 = p0; }
static IntPtr n_GetAddress(IntPtr jnienv, IntPtr native__this) { global::Com.Baidu.Mapapi.Search.Geocode.GeoCodeResult __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Search.Geocode.GeoCodeResult> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewString(__this.Address)); }
static IntPtr n_GetLocation(IntPtr jnienv, IntPtr native__this) { global::Com.Baidu.Mapapi.Search.Geocode.GeoCodeResult __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Search.Geocode.GeoCodeResult> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.Location)); }