static IntPtr n_GetCameraPosition_Lcom_mapbox_mapboxsdk_maps_MapboxMap_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Mapbox.Mapboxsdk.Camera.ICameraUpdate __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Mapboxsdk.Camera.ICameraUpdate> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Mapbox.Mapboxsdk.Maps.MapboxMap       p0     = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Mapboxsdk.Maps.MapboxMap> (native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.GetCameraPosition(p0));

            return(__ret);
        }
Exemple #2
0
        public unsafe void MoveCamera(global::Com.Mapbox.Mapboxsdk.Maps.MapboxMap mapboxMap, global::Com.Mapbox.Mapboxsdk.Camera.ICameraUpdate update, global::Com.Mapbox.Mapboxsdk.Maps.MapboxMap.ICancelableCallback @callback)
        {
            const string __id = "moveCamera.(Lcom/mapbox/mapboxsdk/maps/MapboxMap;Lcom/mapbox/mapboxsdk/camera/CameraUpdate;Lcom/mapbox/mapboxsdk/maps/MapboxMap$CancelableCallback;)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [3];
                __args [0] = new JniArgumentValue((mapboxMap == null) ? IntPtr.Zero : ((global::Java.Lang.Object)mapboxMap).Handle);
                __args [1] = new JniArgumentValue((update == null) ? IntPtr.Zero : ((global::Java.Lang.Object)update).Handle);
                __args [2] = new JniArgumentValue((@callback == null) ? IntPtr.Zero : ((global::Java.Lang.Object)@callback).Handle);
                _members.InstanceMethods.InvokeNonvirtualVoidMethod(__id, this, __args);
            } finally {
            }
        }