static void n_WriteToParcel_Landroid_os_Parcel_I(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int native_p1)
 {
     global::Com.Amap.Api.Location.DPoint    __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Location.DPoint> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.OS.Parcel               p0     = global::Java.Lang.Object.GetObject <global::Android.OS.Parcel> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Android.OS.ParcelableWriteFlags p1     = (global::Android.OS.ParcelableWriteFlags)native_p1;
     __this.WriteToParcel(p0, p1);
 }
        static IntPtr n_Coord_Lcom_amap_api_location_DPoint_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Amap.Api.Location.CoordinateConverter __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Location.CoordinateConverter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Amap.Api.Location.DPoint p0 = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Location.DPoint> (native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.Coord(p0));

            return(__ret);
        }
        static void n_AddRoundGeoFence_Lcom_amap_api_location_DPoint_FLjava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, float p1, IntPtr native_p2)
        {
            global::Com.Amap.Api.Fence.IGeoFenceManagerBase __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Fence.IGeoFenceManagerBase> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Amap.Api.Location.DPoint            p0     = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Location.DPoint> (native_p0, JniHandleOwnership.DoNotTransfer);
            string p2 = JNIEnv.GetString(native_p2, JniHandleOwnership.DoNotTransfer);

            __this.AddRoundGeoFence(p0, p1, p2);
        }
        static void n_AddNearbyGeoFence_Ljava_lang_String_Ljava_lang_String_Lcom_amap_api_location_DPoint_FILjava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2, float p3, int p4, IntPtr native_p5)
        {
            global::Com.Amap.Api.Fence.IGeoFenceManagerBase __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Fence.IGeoFenceManagerBase> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer);
            string p1 = JNIEnv.GetString(native_p1, JniHandleOwnership.DoNotTransfer);

            global::Com.Amap.Api.Location.DPoint p2 = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Location.DPoint> (native_p2, JniHandleOwnership.DoNotTransfer);
            string p5 = JNIEnv.GetString(native_p5, JniHandleOwnership.DoNotTransfer);

            __this.AddNearbyGeoFence(p0, p1, p2, p3, p4, p5);
        }
        public static unsafe float CalculateLineDistance(global::Com.Amap.Api.Location.DPoint p0, global::Com.Amap.Api.Location.DPoint p1)
        {
            const string __id = "calculateLineDistance.(Lcom/amap/api/location/DPoint;Lcom/amap/api/location/DPoint;)F";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [2];
                __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                __args [1] = new JniArgumentValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p1).Handle);
                var __rm = _members.StaticMethods.InvokeSingleMethod(__id, __args);
                return(__rm);
            } finally {
            }
        }
        public unsafe void AddRoundGeoFence(global::Com.Amap.Api.Location.DPoint p0, float p1, string p2)
        {
            if (id_addRoundGeoFence_Lcom_amap_api_location_DPoint_FLjava_lang_String_ == IntPtr.Zero)
            {
                id_addRoundGeoFence_Lcom_amap_api_location_DPoint_FLjava_lang_String_ = JNIEnv.GetMethodID(class_ref, "addRoundGeoFence", "(Lcom/amap/api/location/DPoint;FLjava/lang/String;)V");
            }
            IntPtr  native_p2 = JNIEnv.NewString(p2);
            JValue *__args    = stackalloc JValue [3];

            __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
            __args [1] = new JValue(p1);
            __args [2] = new JValue(native_p2);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_addRoundGeoFence_Lcom_amap_api_location_DPoint_FLjava_lang_String_, __args);
            JNIEnv.DeleteLocalRef(native_p2);
        }
        public virtual unsafe void AddGeoFence(global::Com.Amap.Api.Location.DPoint p0, float p1, string p2)
        {
            const string __id      = "addGeoFence.(Lcom/amap/api/location/DPoint;FLjava/lang/String;)V";
            IntPtr       native_p2 = JNIEnv.NewString(p2);

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [3];
                __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                __args [1] = new JniArgumentValue(p1);
                __args [2] = new JniArgumentValue(native_p2);
                _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p2);
            }
        }
        public unsafe void AddNearbyGeoFence(string p0, string p1, global::Com.Amap.Api.Location.DPoint p2, float p3, int p4, string p5)
        {
            if (id_addNearbyGeoFence_Ljava_lang_String_Ljava_lang_String_Lcom_amap_api_location_DPoint_FILjava_lang_String_ == IntPtr.Zero)
            {
                id_addNearbyGeoFence_Ljava_lang_String_Ljava_lang_String_Lcom_amap_api_location_DPoint_FILjava_lang_String_ = JNIEnv.GetMethodID(class_ref, "addNearbyGeoFence", "(Ljava/lang/String;Ljava/lang/String;Lcom/amap/api/location/DPoint;FILjava/lang/String;)V");
            }
            IntPtr  native_p0 = JNIEnv.NewString(p0);
            IntPtr  native_p1 = JNIEnv.NewString(p1);
            IntPtr  native_p5 = JNIEnv.NewString(p5);
            JValue *__args    = stackalloc JValue [6];

            __args [0] = new JValue(native_p0);
            __args [1] = new JValue(native_p1);
            __args [2] = new JValue((p2 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p2).Handle);
            __args [3] = new JValue(p3);
            __args [4] = new JValue(p4);
            __args [5] = new JValue(native_p5);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_addNearbyGeoFence_Ljava_lang_String_Ljava_lang_String_Lcom_amap_api_location_DPoint_FILjava_lang_String_, __args);
            JNIEnv.DeleteLocalRef(native_p0);
            JNIEnv.DeleteLocalRef(native_p1);
            JNIEnv.DeleteLocalRef(native_p5);
        }
        public virtual unsafe global::Com.Amap.Api.Location.CoordinateConverter Coord(global::Com.Amap.Api.Location.DPoint p0)
        {
            const string __id = "coord.(Lcom/amap/api/location/DPoint;)Lcom/amap/api/location/CoordinateConverter;";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod(__id, this, __args);
                return(global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Location.CoordinateConverter> (__rm.Handle, JniHandleOwnership.TransferLocalRef));
            } finally {
            }
        }
 static int n_DescribeContents(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Amap.Api.Location.DPoint __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Location.DPoint> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.DescribeContents());
 }
 static void n_SetLongitude_D(IntPtr jnienv, IntPtr native__this, double p0)
 {
     global::Com.Amap.Api.Location.DPoint __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Location.DPoint> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.Longitude = p0;
 }
 static double n_GetLongitude(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Amap.Api.Location.DPoint __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Location.DPoint> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.Longitude);
 }