Пример #1
0
        public unsafe void RemoveFence(global::Com.Tencent.Map.Geolocation.TencentGeofence p0)
        {
            const string __id = "removeFence.(Lcom/tencent/map/geolocation/TencentGeofence;)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                _members.InstanceMethods.InvokeNonvirtualVoidMethod(__id, this, __args);
            } finally {
            }
        }
Пример #2
0
        public unsafe void AddFence(global::Com.Tencent.Map.Geolocation.TencentGeofence p0, global::Android.App.PendingIntent p1)
        {
            const string __id = "addFence.(Lcom/tencent/map/geolocation/TencentGeofence;Landroid/app/PendingIntent;)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.InvokeNonvirtualVoidMethod(__id, this, __args);
            } finally {
            }
        }