static IntPtr n_Location_Lcom_baidu_mapapi_model_LatLng_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Baidu.Mapapi.Search.Geocode.ReverseGeoCodeOption __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Search.Geocode.ReverseGeoCodeOption> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Baidu.Mapapi.Model.LatLng p0 = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Model.LatLng> (native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.Location(p0));

            return(__ret);
        }
Exemple #2
0
        static bool n_ReverseGeoCode_Lcom_baidu_mapapi_search_geocode_ReverseGeoCodeOption_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Baidu.Mapapi.Search.Geocode.GeoCoder             __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Search.Geocode.GeoCoder> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Baidu.Mapapi.Search.Geocode.ReverseGeoCodeOption p0     = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Search.Geocode.ReverseGeoCodeOption> (native_p0, JniHandleOwnership.DoNotTransfer);
            bool __ret = __this.ReverseGeoCode(p0);

            return(__ret);
        }
Exemple #3
0
        public virtual unsafe bool ReverseGeoCode(global::Com.Baidu.Mapapi.Search.Geocode.ReverseGeoCodeOption p0)
        {
            if (id_reverseGeoCode_Lcom_baidu_mapapi_search_geocode_ReverseGeoCodeOption_ == IntPtr.Zero)
            {
                id_reverseGeoCode_Lcom_baidu_mapapi_search_geocode_ReverseGeoCodeOption_ = JNIEnv.GetMethodID(class_ref, "reverseGeoCode", "(Lcom/baidu/mapapi/search/geocode/ReverseGeoCodeOption;)Z");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                bool __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(Handle, id_reverseGeoCode_Lcom_baidu_mapapi_search_geocode_ReverseGeoCodeOption_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "reverseGeoCode", "(Lcom/baidu/mapapi/search/geocode/ReverseGeoCodeOption;)Z"), __args);
                }
                return(__ret);
            } finally {
            }
        }