public unsafe void SetLocationOption(global::Com.Amap.Api.Location.AMapLocationClientOption p0)
        {
            if (id_setLocationOption_Lcom_amap_api_location_AMapLocationClientOption_ == IntPtr.Zero)
            {
                id_setLocationOption_Lcom_amap_api_location_AMapLocationClientOption_ = JNIEnv.GetMethodID(class_ref, "setLocationOption", "(Lcom/amap/api/location/AMapLocationClientOption;)V");
            }
            JValue *__args = stackalloc JValue [1];

            __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setLocationOption_Lcom_amap_api_location_AMapLocationClientOption_, __args);
        }
        public virtual unsafe void SetLocationOption(global::Com.Amap.Api.Location.AMapLocationClientOption p0)
        {
            const string __id = "setLocationOption.(Lcom/amap/api/location/AMapLocationClientOption;)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args);
            } finally {
            }
        }
 static void n_SetLocationOption_Lcom_amap_api_location_AMapLocationClientOption_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Amap.Api.Location.ILocationManagerBase     __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Location.ILocationManagerBase> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Amap.Api.Location.AMapLocationClientOption p0     = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Location.AMapLocationClientOption> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.SetLocationOption(p0);
 }