public static unsafe void Copy(global::Com.Tencent.Map.Geolocation.TencentLocationRequest p0, global::Com.Tencent.Map.Geolocation.TencentLocationRequest p1)
        {
            const string __id = "copy.(Lcom/tencent/map/geolocation/TencentLocationRequest;Lcom/tencent/map/geolocation/TencentLocationRequest;)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.StaticMethods.InvokeVoidMethod(__id, __args);
            } finally {
            }
        }
Ejemplo n.º 2
0
        public static unsafe bool IsRequestRawData(global::Com.Tencent.Map.Geolocation.TencentLocationRequest p0)
        {
            const string __id = "isRequestRawData.(Lcom/tencent/map/geolocation/TencentLocationRequest;)Z";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                var __rm = _members.StaticMethods.InvokeBooleanMethod(__id, __args);
                return(__rm);
            } finally {
            }
        }
        public unsafe int RequestLocationUpdates(global::Com.Tencent.Map.Geolocation.TencentLocationRequest p0, global::Com.Tencent.Map.Geolocation.ITencentLocationListener p1)
        {
            const string __id = "requestLocationUpdates.(Lcom/tencent/map/geolocation/TencentLocationRequest;Lcom/tencent/map/geolocation/TencentLocationListener;)I";

            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.InvokeNonvirtualInt32Method(__id, this, __args);
                return(__rm);
            } finally {
            }
        }
        public unsafe TencentLocationRequest(global::Com.Tencent.Map.Geolocation.TencentLocationRequest p0)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            const string __id = "(Lcom/tencent/map/geolocation/TencentLocationRequest;)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 {
            }
        }
Ejemplo n.º 5
0
        public static unsafe global::Com.Tencent.Map.Geolocation.TencentLocationRequest SetRequestRawData(global::Com.Tencent.Map.Geolocation.TencentLocationRequest p0, bool p1)
        {
            const string __id = "setRequestRawData.(Lcom/tencent/map/geolocation/TencentLocationRequest;Z)Lcom/tencent/map/geolocation/TencentLocationRequest;";

            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);
                var __rm = _members.StaticMethods.InvokeObjectMethod(__id, __args);
                return(global::Java.Lang.Object.GetObject <global::Com.Tencent.Map.Geolocation.TencentLocationRequest> (__rm.Handle, JniHandleOwnership.TransferLocalRef));
            } finally {
            }
        }