static bool n_UploadInfoRequest_Lcom_baidu_mapapi_radar_RadarUploadInfo_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Baidu.Mapapi.Radar.RadarSearchManager __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Radar.RadarSearchManager> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Baidu.Mapapi.Radar.RadarUploadInfo p0 = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Radar.RadarUploadInfo> (native_p0, JniHandleOwnership.DoNotTransfer); bool __ret = __this.UploadInfoRequest(p0); return(__ret); }
public virtual unsafe bool UploadInfoRequest(global::Com.Baidu.Mapapi.Radar.RadarUploadInfo p0) { if (id_uploadInfoRequest_Lcom_baidu_mapapi_radar_RadarUploadInfo_ == IntPtr.Zero) { id_uploadInfoRequest_Lcom_baidu_mapapi_radar_RadarUploadInfo_ = JNIEnv.GetMethodID(class_ref, "uploadInfoRequest", "(Lcom/baidu/mapapi/radar/RadarUploadInfo;)Z"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); bool __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallBooleanMethod(Handle, id_uploadInfoRequest_Lcom_baidu_mapapi_radar_RadarUploadInfo_, __args); } else { __ret = JNIEnv.CallNonvirtualBooleanMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "uploadInfoRequest", "(Lcom/baidu/mapapi/radar/RadarUploadInfo;)Z"), __args); } return(__ret); } finally { } }