static bool n_LocalSearch_Lcom_baidu_mapapi_cloud_LocalSearchInfo_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Baidu.Mapapi.Cloud.CloudManager __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Cloud.CloudManager> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Baidu.Mapapi.Cloud.LocalSearchInfo p0 = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Cloud.LocalSearchInfo> (native_p0, JniHandleOwnership.DoNotTransfer); bool __ret = __this.LocalSearch(p0); return(__ret); }
public virtual unsafe bool LocalSearch(global::Com.Baidu.Mapapi.Cloud.LocalSearchInfo p0) { if (id_localSearch_Lcom_baidu_mapapi_cloud_LocalSearchInfo_ == IntPtr.Zero) { id_localSearch_Lcom_baidu_mapapi_cloud_LocalSearchInfo_ = JNIEnv.GetMethodID(class_ref, "localSearch", "(Lcom/baidu/mapapi/cloud/LocalSearchInfo;)Z"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); bool __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallBooleanMethod(Handle, id_localSearch_Lcom_baidu_mapapi_cloud_LocalSearchInfo_, __args); } else { __ret = JNIEnv.CallNonvirtualBooleanMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "localSearch", "(Lcom/baidu/mapapi/cloud/LocalSearchInfo;)Z"), __args); } return(__ret); } finally { } }