Example #1
0
        public unsafe UiSettings(global::Com.Amap.Api.Interfaces.IUiSettings p0)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            const string __id = "(Lcom/amap/api/interfaces/IUiSettings;)V";

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

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                var __r = _members.InstanceMethods.StartCreateInstance(__id, ((object)this).GetType(), __args);
                SetHandle(__r.Handle, JniHandleOwnership.TransferLocalRef);
                _members.InstanceMethods.FinishCreateInstance(__id, this, __args);
            } finally {
            }
        }
Example #2
0
 static void n_SetZoomPosition_I(IntPtr jnienv, IntPtr native__this, int p0)
 {
     global::Com.Amap.Api.Interfaces.IUiSettings __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Interfaces.IUiSettings> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.ZoomPosition = p0;
 }
Example #3
0
 static void n_SetAllGesturesEnabled_Z(IntPtr jnienv, IntPtr native__this, bool p0)
 {
     global::Com.Amap.Api.Interfaces.IUiSettings __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Interfaces.IUiSettings> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.SetAllGesturesEnabled(p0);
 }
Example #4
0
 static int n_GetZoomPosition(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Amap.Api.Interfaces.IUiSettings __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Interfaces.IUiSettings> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.ZoomPosition);
 }
Example #5
0
 static void n_SetZoomInByScreenCenter_Z(IntPtr jnienv, IntPtr native__this, bool p0)
 {
     global::Com.Amap.Api.Interfaces.IUiSettings __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Interfaces.IUiSettings> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.ZoomInByScreenCenter = p0;
 }
Example #6
0
 static bool n_IsZoomInByScreenCenter(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Amap.Api.Interfaces.IUiSettings __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Interfaces.IUiSettings> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.ZoomInByScreenCenter);
 }
Example #7
0
 static bool n_IsScrollGesturesEnabled(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Amap.Api.Interfaces.IUiSettings __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Interfaces.IUiSettings> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.ScrollGesturesEnabled);
 }
Example #8
0
 static void n_SetMyLocationButtonEnabled_Z(IntPtr jnienv, IntPtr native__this, bool p0)
 {
     global::Com.Amap.Api.Interfaces.IUiSettings __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Interfaces.IUiSettings> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.MyLocationButtonEnabled = p0;
 }