Exemplo n.º 1
0
            static unsafe void Invoke(IntPtr block, global::System.nuint obj)
            {
                var descriptor = (BlockLiteral *)block;
                var del        = (global::System.Action <global::System.nuint>)(descriptor->Target);

                if (del != null)
                {
                    del(obj);
                }
            }
 public virtual bool GetDeviceInfoWithType(global::System.nuint type)
 {
     if (IsDirectBinding)
     {
         return(global::ApiDefinitions.Messaging.bool_objc_msgSend_nuint(this.Handle, Selector.GetHandle("getDeviceInfoWithType:"), type));
     }
     else
     {
         return(global::ApiDefinitions.Messaging.bool_objc_msgSendSuper_nuint(this.SuperHandle, Selector.GetHandle("getDeviceInfoWithType:"), type));
     }
 }
 public virtual bool TransmitEscapeCommand(global::System.IntPtr command, global::System.nuint length)
 {
     if (IsDirectBinding)
     {
         return(global::ApiDefinitions.Messaging.bool_objc_msgSend_IntPtr_nuint(this.Handle, Selector.GetHandle("transmitEscapeCommand:length:"), command, length));
     }
     else
     {
         return(global::ApiDefinitions.Messaging.bool_objc_msgSendSuper_IntPtr_nuint(this.SuperHandle, Selector.GetHandle("transmitEscapeCommand:length:"), command, length));
     }
 }
Exemplo n.º 4
0
 public virtual void SetCurrentPageIndex(global::System.nuint currentPageIndex, bool animated)
 {
     if (IsDirectBinding)
     {
         global::ApiDefinition.Messaging.void_objc_msgSend_nuint_bool(this.Handle, Selector.GetHandle("setCurrentPageIndex:animated:"), currentPageIndex, animated);
     }
     else
     {
         global::ApiDefinition.Messaging.void_objc_msgSendSuper_nuint_bool(this.SuperHandle, Selector.GetHandle("setCurrentPageIndex:animated:"), currentPageIndex, animated);
     }
 }
Exemplo n.º 5
0
 public virtual void LimitScrollingToPage(global::System.nuint lastPageIndex)
 {
     if (IsDirectBinding)
     {
         global::ApiDefinition.Messaging.void_objc_msgSend_nuint(this.Handle, Selector.GetHandle("limitScrollingToPage:"), lastPageIndex);
     }
     else
     {
         global::ApiDefinition.Messaging.void_objc_msgSendSuper_nuint(this.SuperHandle, Selector.GetHandle("limitScrollingToPage:"), lastPageIndex);
     }
 }
Exemplo n.º 6
0
 public virtual void LoadInitialKey(global::System.IntPtr initialKey, global::System.nuint length)
 {
     if (IsDirectBinding)
     {
         global::ApiDefinitions.Messaging.void_objc_msgSend_IntPtr_nuint(this.Handle, Selector.GetHandle("loadInitialKey:length:"), initialKey, length);
     }
     else
     {
         global::ApiDefinitions.Messaging.void_objc_msgSendSuper_IntPtr_nuint(this.SuperHandle, Selector.GetHandle("loadInitialKey:length:"), initialKey, length);
     }
 }
Exemplo n.º 7
0
 public virtual void UpdateWithBytes(global::System.IntPtr bytes, global::System.nuint length)
 {
     if (IsDirectBinding)
     {
         global::ApiDefinitions.Messaging.void_objc_msgSend_IntPtr_nuint(this.Handle, Selector.GetHandle("updateWithBytes:length:"), bytes, length);
     }
     else
     {
         global::ApiDefinitions.Messaging.void_objc_msgSendSuper_IntPtr_nuint(this.SuperHandle, Selector.GetHandle("updateWithBytes:length:"), bytes, length);
     }
 }
Exemplo n.º 8
0
 public ACRTrack2Data(global::System.IntPtr bytes, global::System.nuint length)
     : base(NSObjectFlag.Empty)
 {
     IsDirectBinding = GetType().Assembly == global::ApiDefinitions.Messaging.this_assembly;
     if (IsDirectBinding)
     {
         InitializeHandle(global::ApiDefinitions.Messaging.IntPtr_objc_msgSend_IntPtr_nuint(this.Handle, Selector.GetHandle("initWithBytes:length:"), bytes, length), "initWithBytes:length:");
     }
     else
     {
         InitializeHandle(global::ApiDefinitions.Messaging.IntPtr_objc_msgSendSuper_IntPtr_nuint(this.SuperHandle, Selector.GetHandle("initWithBytes:length:"), bytes, length), "initWithBytes:length:");
     }
 }
 public HYPMessage(global::System.nuint identifier, NSData data)
     : base(NSObjectFlag.Empty)
 {
     if (data == null)
     {
         throw new ArgumentNullException("data");
     }
     IsDirectBinding = GetType().Assembly == global::ApiDefinition.Messaging.this_assembly;
     if (IsDirectBinding)
     {
         InitializeHandle(global::ApiDefinition.Messaging.IntPtr_objc_msgSend_nuint_IntPtr(this.Handle, Selector.GetHandle("initWithIdentifier:data:"), identifier, data.Handle), "initWithIdentifier:data:");
     }
     else
     {
         InitializeHandle(global::ApiDefinition.Messaging.IntPtr_objc_msgSendSuper_nuint_IntPtr(this.SuperHandle, Selector.GetHandle("initWithIdentifier:data:"), identifier, data.Handle), "initWithIdentifier:data:");
     }
 }
Exemplo n.º 10
0
 public virtual void DidReturnCardStatus(ABTBluetoothReader bluetoothReader, global::System.nuint cardStatus, NSError error)
 {
     if (bluetoothReader == null)
     {
         throw new ArgumentNullException("bluetoothReader");
     }
     if (error == null)
     {
         throw new ArgumentNullException("error");
     }
     if (IsDirectBinding)
     {
         global::ApiDefinitions.Messaging.void_objc_msgSend_IntPtr_nuint_IntPtr(this.Handle, Selector.GetHandle("bluetoothReader:didReturnCardStatus:error:"), bluetoothReader.Handle, cardStatus, error.Handle);
     }
     else
     {
         global::ApiDefinitions.Messaging.void_objc_msgSendSuper_IntPtr_nuint_IntPtr(this.SuperHandle, Selector.GetHandle("bluetoothReader:didReturnCardStatus:error:"), bluetoothReader.Handle, cardStatus, error.Handle);
     }
 }
Exemplo n.º 11
0
 public extern static IntPtr IntPtr_objc_msgSendSuper_IntPtr_nuint_IntPtr_nuint(IntPtr receiver, IntPtr selector, global::System.IntPtr arg1, global::System.nuint arg2, global::System.IntPtr arg3, global::System.nuint arg4);
Exemplo n.º 12
0
 public virtual void DidReturnDeviceInfo(ABTBluetoothReader bluetoothReader, NSObject deviceInfo, global::System.nuint type, NSError error)
 {
     if (bluetoothReader == null)
     {
         throw new ArgumentNullException("bluetoothReader");
     }
     if (deviceInfo == null)
     {
         throw new ArgumentNullException("deviceInfo");
     }
     if (error == null)
     {
         throw new ArgumentNullException("error");
     }
     if (IsDirectBinding)
     {
         global::ApiDefinitions.Messaging.void_objc_msgSend_IntPtr_IntPtr_nuint_IntPtr(this.Handle, Selector.GetHandle("bluetoothReader:didReturnDeviceInfo:type:error:"), bluetoothReader.Handle, deviceInfo.Handle, type, error.Handle);
     }
     else
     {
         global::ApiDefinitions.Messaging.void_objc_msgSendSuper_IntPtr_IntPtr_nuint_IntPtr(this.SuperHandle, Selector.GetHandle("bluetoothReader:didReturnDeviceInfo:type:error:"), bluetoothReader.Handle, deviceInfo.Handle, type, error.Handle);
     }
 }
Exemplo n.º 13
0
 public static global::System.nuint EncryptionCounterFromKeySerialNumber(global::System.IntPtr ksn, global::System.nuint length)
 {
     return(global::ApiDefinitions.Messaging.nuint_objc_msgSend_IntPtr_nuint(class_ptr, Selector.GetHandle("encryptionCounterFromKeySerialNumber:length:"), ksn, length));
 }
Exemplo n.º 14
0
 public extern static bool bool_objc_msgSend_nuint(IntPtr receiver, IntPtr selector, global::System.nuint arg1);
Exemplo n.º 15
0
 public extern static void void_objc_msgSend_IntPtr_IntPtr_nuint_IntPtr(IntPtr receiver, IntPtr selector, IntPtr arg1, IntPtr arg2, global::System.nuint arg3, IntPtr arg4);
Exemplo n.º 16
0
 public extern static global::System.IntPtr IntPtr_objc_msgSend_nuint_IntPtr(IntPtr receiver, IntPtr selector, global::System.nuint arg1, IntPtr arg2);
Exemplo n.º 17
0
 public virtual void ShowInView(global::UIKit.UIView view, global::System.nfloat duration, global::System.nuint initialPageIndex)
 {
     if (view == null)
     {
         throw new ArgumentNullException("view");
     }
     if (IsDirectBinding)
     {
         global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_nfloat_nuint(this.Handle, Selector.GetHandle("showInView:animateDuration:withInitialPageIndex:"), view.Handle, duration, initialPageIndex);
     }
     else
     {
         global::ApiDefinition.Messaging.void_objc_msgSendSuper_IntPtr_nfloat_nuint(this.SuperHandle, Selector.GetHandle("showInView:animateDuration:withInitialPageIndex:"), view.Handle, duration, initialPageIndex);
     }
 }
Exemplo n.º 18
0
 public virtual void SetKeySerialNumber(global::System.IntPtr keySerialNumber, global::System.nuint length)
 {
     if (IsDirectBinding)
     {
         global::ApiDefinitions.Messaging.void_objc_msgSend_IntPtr_nuint(this.Handle, Selector.GetHandle("setKeySerialNumber:length:"), keySerialNumber, length);
     }
     else
     {
         global::ApiDefinitions.Messaging.void_objc_msgSendSuper_IntPtr_nuint(this.SuperHandle, Selector.GetHandle("setKeySerialNumber:length:"), keySerialNumber, length);
     }
 }
Exemplo n.º 19
0
 public static bool CompareKeySerialNumber(global::System.IntPtr ksn1, global::System.nuint ksn1Length, global::System.IntPtr ksn2, global::System.nuint ksn2Length)
 {
     return(global::ApiDefinitions.Messaging.bool_objc_msgSend_IntPtr_nuint_IntPtr_nuint(class_ptr, Selector.GetHandle("compareKeySerialNumber:ksn1Length:ksn2:ksn2Length:"), ksn1, ksn1Length, ksn2, ksn2Length));
 }
Exemplo n.º 20
0
 public static NSData PinEncryptionKeyFromKey(global::System.IntPtr key, global::System.nuint length)
 {
     return(Runtime.GetNSObject <NSData> (global::ApiDefinitions.Messaging.IntPtr_objc_msgSend_IntPtr_nuint(class_ptr, Selector.GetHandle("pinEncryptionKeyFromKey:length:"), key, length)));
 }
Exemplo n.º 21
0
 public static NSData MacFromData(global::System.IntPtr data, global::System.nuint dataLength, global::System.IntPtr key, global::System.nuint keyLength)
 {
     return(Runtime.GetNSObject <NSData> (global::ApiDefinitions.Messaging.IntPtr_objc_msgSend_IntPtr_nuint_IntPtr_nuint(class_ptr, Selector.GetHandle("macFromData:dataLength:key:keyLength:"), data, dataLength, key, keyLength)));
 }
Exemplo n.º 22
0
 public extern static void void_objc_msgSendSuper_IntPtr_nfloat_nuint(IntPtr receiver, IntPtr selector, IntPtr arg1, global::System.nfloat arg2, global::System.nuint arg3);
Exemplo n.º 23
0
 public extern static void void_objc_msgSendSuper_nuint(IntPtr receiver, IntPtr selector, global::System.nuint arg1);
Exemplo n.º 24
0
 public virtual void ShowFullscreenWithAnimateDuration(global::System.nfloat duration, global::System.nuint initialPageIndex)
 {
     if (IsDirectBinding)
     {
         global::ApiDefinition.Messaging.void_objc_msgSend_nfloat_nuint(this.Handle, Selector.GetHandle("showFullscreenWithAnimateDuration:andInitialPageIndex:"), duration, initialPageIndex);
     }
     else
     {
         global::ApiDefinition.Messaging.void_objc_msgSendSuper_nfloat_nuint(this.SuperHandle, Selector.GetHandle("showFullscreenWithAnimateDuration:andInitialPageIndex:"), duration, initialPageIndex);
     }
 }
Exemplo n.º 25
0
 public extern static global::System.nuint nuint_objc_msgSend_IntPtr_IntPtr_nuint(IntPtr receiver, IntPtr selector, IntPtr arg1, global::System.IntPtr arg2, global::System.nuint arg3);
Exemplo n.º 26
0
        public static global::System.nuint ToByteArray(string hexString, global::System.IntPtr buffer, global::System.nuint bufferSize)
        {
            if (hexString == null)
            {
                throw new ArgumentNullException("hexString");
            }
            var nshexString = NSString.CreateNative(hexString);

            global::System.nuint ret;
            ret = global::ApiDefinitions.Messaging.nuint_objc_msgSend_IntPtr_IntPtr_nuint(class_ptr, Selector.GetHandle("toByteArray:buffer:bufferSize:"), nshexString, buffer, bufferSize);
            NSString.ReleaseNative(nshexString);

            return(ret);
        }
Exemplo n.º 27
0
 public extern static bool bool_objc_msgSendSuper_IntPtr_nuint(IntPtr receiver, IntPtr selector, global::System.IntPtr arg1, global::System.nuint arg2);
Exemplo n.º 28
0
 public static string ToHexString(global::System.IntPtr buffer, global::System.nuint length)
 {
     return(NSString.FromHandle(global::ApiDefinitions.Messaging.IntPtr_objc_msgSend_IntPtr_nuint(class_ptr, Selector.GetHandle("toHexString:length:"), buffer, length)));
 }
Exemplo n.º 29
0
 public virtual bool AuthenticateWithMasterKey(global::System.IntPtr masterKey, global::System.nuint length)
 {
     if (IsDirectBinding)
     {
         return(global::ApiDefinitions.Messaging.bool_objc_msgSend_IntPtr_nuint(this.Handle, Selector.GetHandle("authenticateWithMasterKey:length:"), masterKey, length));
     }
     else
     {
         return(global::ApiDefinitions.Messaging.bool_objc_msgSendSuper_IntPtr_nuint(this.SuperHandle, Selector.GetHandle("authenticateWithMasterKey:length:"), masterKey, length));
     }
 }
Exemplo n.º 30
0
 public extern static void void_objc_msgSend_nuint_bool(IntPtr receiver, IntPtr selector, global::System.nuint arg1, bool arg2);