static void n_WriteToParcel_Landroid_os_Parcel_I(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int native_p1)
 {
     global::Com.Amap.Api.Maps2d.AMapOptions __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Maps2d.AMapOptions> (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 void n_OnInflate_Landroid_app_Activity_Lcom_amap_api_maps2d_AMapOptions_Landroid_os_Bundle_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2)
 {
     global::Com.Amap.Api.Interfaces.IMapFragmentDelegate __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Interfaces.IMapFragmentDelegate> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.App.Activity            p0 = global::Java.Lang.Object.GetObject <global::Android.App.Activity> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Com.Amap.Api.Maps2d.AMapOptions p1 = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Maps2d.AMapOptions> (native_p1, JniHandleOwnership.DoNotTransfer);
     global::Android.OS.Bundle p2 = global::Java.Lang.Object.GetObject <global::Android.OS.Bundle> (native_p2, JniHandleOwnership.DoNotTransfer);
     __this.OnInflate(p0, p1, p2);
 }
        static IntPtr n_InvokeCamera_Lcom_amap_api_maps2d_model_CameraPosition_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Amap.Api.Maps2d.AMapOptions          __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Maps2d.AMapOptions> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Amap.Api.Maps2d.Model.CameraPosition p0     = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Maps2d.Model.CameraPosition> (native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.InvokeCamera(p0));

            return(__ret);
        }
        public unsafe void SetOptions(global::Com.Amap.Api.Maps2d.AMapOptions p0)
        {
            if (id_setOptions_Lcom_amap_api_maps2d_AMapOptions_ == IntPtr.Zero)
            {
                id_setOptions_Lcom_amap_api_maps2d_AMapOptions_ = JNIEnv.GetMethodID(class_ref, "setOptions", "(Lcom/amap/api/maps2d/AMapOptions;)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_setOptions_Lcom_amap_api_maps2d_AMapOptions_, __args);
        }
Example #5
0
        public static unsafe global::Com.Amap.Api.Maps2d.MapFragment NewInstance(global::Com.Amap.Api.Maps2d.AMapOptions p0)
        {
            const string __id = "newInstance.(Lcom/amap/api/maps2d/AMapOptions;)Lcom/amap/api/maps2d/MapFragment;";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                var __rm = _members.StaticMethods.InvokeObjectMethod(__id, __args);
                return(global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Maps2d.MapFragment> (__rm.Handle, JniHandleOwnership.TransferLocalRef));
            } finally {
            }
        }
        public unsafe void OnInflate(global::Android.App.Activity p0, global::Com.Amap.Api.Maps2d.AMapOptions p1, global::Android.OS.Bundle p2)
        {
            if (id_onInflate_Landroid_app_Activity_Lcom_amap_api_maps2d_AMapOptions_Landroid_os_Bundle_ == IntPtr.Zero)
            {
                id_onInflate_Landroid_app_Activity_Lcom_amap_api_maps2d_AMapOptions_Landroid_os_Bundle_ = JNIEnv.GetMethodID(class_ref, "onInflate", "(Landroid/app/Activity;Lcom/amap/api/maps2d/AMapOptions;Landroid/os/Bundle;)V");
            }
            JValue *__args = stackalloc JValue [3];

            __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
            __args [1] = new JValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p1).Handle);
            __args [2] = new JValue((p2 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p2).Handle);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onInflate_Landroid_app_Activity_Lcom_amap_api_maps2d_AMapOptions_Landroid_os_Bundle_, __args);
        }
Example #7
0
        public unsafe MapView(global::Android.Content.Context p0, global::Com.Amap.Api.Maps2d.AMapOptions p1)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            const string __id = "(Landroid/content/Context;Lcom/amap/api/maps2d/AMapOptions;)V";

            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            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 __r = _members.InstanceMethods.StartCreateInstance(__id, ((object)this).GetType(), __args);
                SetHandle(__r.Handle, JniHandleOwnership.TransferLocalRef);
                _members.InstanceMethods.FinishCreateInstance(__id, this, __args);
            } finally {
            }
        }
 static IntPtr n_GetCamera(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Amap.Api.Maps2d.AMapOptions __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Maps2d.AMapOptions> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.ToLocalJniHandle(__this.Camera));
 }
 static IntPtr n_InvokeZoomGesturesEnabled_Z(IntPtr jnienv, IntPtr native__this, bool p0)
 {
     global::Com.Amap.Api.Maps2d.AMapOptions __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Maps2d.AMapOptions> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.ToLocalJniHandle(__this.InvokeZoomGesturesEnabled(p0)));
 }
 static IntPtr n_InvokeMapType_I(IntPtr jnienv, IntPtr native__this, int p0)
 {
     global::Com.Amap.Api.Maps2d.AMapOptions __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Maps2d.AMapOptions> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.ToLocalJniHandle(__this.InvokeMapType(p0)));
 }
 static int n_DescribeContents(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Amap.Api.Maps2d.AMapOptions __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Maps2d.AMapOptions> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.DescribeContents());
 }
 static int n_GetLogoPosition(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Amap.Api.Maps2d.AMapOptions __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Maps2d.AMapOptions> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.LogoPosition);
 }
 static void n_SetOptions_Lcom_amap_api_maps2d_AMapOptions_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Amap.Api.Interfaces.IMapFragmentDelegate __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Interfaces.IMapFragmentDelegate> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Amap.Api.Maps2d.AMapOptions p0 = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Maps2d.AMapOptions> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.SetOptions(p0);
 }