Example #1
0
 static void n_Draw_Landroid_graphics_Canvas_Lcom_tencent_tencentmap_mapsdk_map_MapView_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
 {
     global::Com.Tencent.Tencentmap.Mapsdk.Map.Overlay __this = global::Java.Lang.Object.GetObject <global::Com.Tencent.Tencentmap.Mapsdk.Map.Overlay> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.Graphics.Canvas p0 = global::Java.Lang.Object.GetObject <global::Android.Graphics.Canvas> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Com.Tencent.Tencentmap.Mapsdk.Map.MapView p1 = global::Java.Lang.Object.GetObject <global::Com.Tencent.Tencentmap.Mapsdk.Map.MapView> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.Draw(p0, p1);
 }
Example #2
0
        static bool n_OnTouchEvent_Landroid_view_MotionEvent_Lcom_tencent_tencentmap_mapsdk_map_MapView_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
        {
            global::Com.Tencent.Tencentmap.Mapsdk.Map.Overlay __this = global::Java.Lang.Object.GetObject <global::Com.Tencent.Tencentmap.Mapsdk.Map.Overlay> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Android.Views.MotionEvent p0 = global::Java.Lang.Object.GetObject <global::Android.Views.MotionEvent> (native_p0, JniHandleOwnership.DoNotTransfer);
            global::Com.Tencent.Tencentmap.Mapsdk.Map.MapView p1 = global::Java.Lang.Object.GetObject <global::Com.Tencent.Tencentmap.Mapsdk.Map.MapView> (native_p1, JniHandleOwnership.DoNotTransfer);
            bool __ret = __this.OnTouchEvent(p0, p1);

            return(__ret);
        }
Example #3
0
        static bool n_OnTap_Lcom_tencent_mapsdk_raster_model_GeoPoint_Lcom_tencent_tencentmap_mapsdk_map_MapView_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
        {
            global::Com.Tencent.Tencentmap.Mapsdk.Map.Overlay __this = global::Java.Lang.Object.GetObject <global::Com.Tencent.Tencentmap.Mapsdk.Map.Overlay> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint  p0     = global::Java.Lang.Object.GetObject <global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint> (native_p0, JniHandleOwnership.DoNotTransfer);
            global::Com.Tencent.Tencentmap.Mapsdk.Map.MapView p1     = global::Java.Lang.Object.GetObject <global::Com.Tencent.Tencentmap.Mapsdk.Map.MapView> (native_p1, JniHandleOwnership.DoNotTransfer);
            bool __ret = __this.OnTap(p0, p1);

            return(__ret);
        }
Example #4
0
        static bool n_OnLongPress_Lcom_tencent_mapsdk_raster_model_GeoPoint_Landroid_view_MotionEvent_Lcom_tencent_tencentmap_mapsdk_map_MapView_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2)
        {
            global::Com.Tencent.Tencentmap.Mapsdk.Map.Overlay __this = global::Java.Lang.Object.GetObject <global::Com.Tencent.Tencentmap.Mapsdk.Map.Overlay> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint  p0     = global::Java.Lang.Object.GetObject <global::Com.Tencent.Mapsdk.Raster.Model.GeoPoint> (native_p0, JniHandleOwnership.DoNotTransfer);
            global::Android.Views.MotionEvent p1 = global::Java.Lang.Object.GetObject <global::Android.Views.MotionEvent> (native_p1, JniHandleOwnership.DoNotTransfer);
            global::Com.Tencent.Tencentmap.Mapsdk.Map.MapView p2 = global::Java.Lang.Object.GetObject <global::Com.Tencent.Tencentmap.Mapsdk.Map.MapView> (native_p2, JniHandleOwnership.DoNotTransfer);
            bool __ret = __this.OnLongPress(p0, p1, p2);

            return(__ret);
        }
Example #5
0
        protected virtual unsafe void SetMapView(global::Com.Tencent.Tencentmap.Mapsdk.Map.MapView p0)
        {
            const string __id = "setMapView.(Lcom/tencent/tencentmap/mapsdk/map/MapView;)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 {
            }
        }
Example #6
0
        protected virtual unsafe void Draw(global::Android.Graphics.Canvas p0, global::Com.Tencent.Tencentmap.Mapsdk.Map.MapView p1)
        {
            const string __id = "draw.(Landroid/graphics/Canvas;Lcom/tencent/tencentmap/mapsdk/map/MapView;)V";

            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);
                _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args);
            } finally {
            }
        }
Example #7
0
 static void n_SetMapView_Lcom_tencent_tencentmap_mapsdk_map_MapView_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Tencent.Tencentmap.Mapsdk.Map.MapActivity __this = global::Java.Lang.Object.GetObject <global::Com.Tencent.Tencentmap.Mapsdk.Map.MapActivity> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Tencent.Tencentmap.Mapsdk.Map.MapView     p0     = global::Java.Lang.Object.GetObject <global::Com.Tencent.Tencentmap.Mapsdk.Map.MapView> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.SetMapView(p0);
 }
Example #8
0
        public virtual unsafe bool OnTouchEvent(global::Android.Views.MotionEvent p0, global::Com.Tencent.Tencentmap.Mapsdk.Map.MapView p1)
        {
            const string __id = "onTouchEvent.(Landroid/view/MotionEvent;Lcom/tencent/tencentmap/mapsdk/map/MapView;)Z";

            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.InstanceMethods.InvokeVirtualBooleanMethod(__id, this, __args);
                return(__rm);
            } finally {
            }
        }