示例#1
0
 public static void DidReceiveReaderError(this IFmBluetoothSessionManagerDelegate This, NSError error)
 {
     if (error == null)
     {
         throw new ArgumentNullException("error");
     }
     global::ApiDefinitions.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("didReceiveReaderError:"), error.Handle);
 }
示例#2
0
 public static void DidMasterKeyUpdate(this IFmBluetoothSessionManagerDelegate This, bool success, NSError error)
 {
     if (error == null)
     {
         throw new ArgumentNullException("error");
     }
     global::ApiDefinitions.Messaging.void_objc_msgSend_bool_IntPtr(This.Handle, Selector.GetHandle("didMasterKeyUpdate:withError:"), success, error.Handle);
 }
示例#3
0
 public static void RemoveDevicewithPeripheral(this IFmBluetoothSessionManagerDelegate This, global::CoreBluetooth.CBPeripheral peripheral)
 {
     if (peripheral == null)
     {
         throw new ArgumentNullException("peripheral");
     }
     global::ApiDefinitions.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("removeDevicewithPeripheral:"), peripheral.Handle);
 }
示例#4
0
 public static void UpdateConnectedDevicesWithDevice(this IFmBluetoothSessionManagerDelegate This, FmBluetoothDevice device)
 {
     if (device == null)
     {
         throw new ArgumentNullException("device");
     }
     global::ApiDefinitions.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("updateConnectedDevicesWithDevice:"), device.Handle);
 }
示例#5
0
        public static void DidChangeCardStatus(this IFmBluetoothSessionManagerDelegate This, NSNumber status, string device)
        {
            if (status == null)
            {
                throw new ArgumentNullException("status");
            }
            if (device == null)
            {
                throw new ArgumentNullException("device");
            }
            var nsdevice = NSString.CreateNative(device);

            global::ApiDefinitions.Messaging.void_objc_msgSend_IntPtr_IntPtr(This.Handle, Selector.GetHandle("didChangeCardStatus:fromDevice:"), status.Handle, nsdevice);
            NSString.ReleaseNative(nsdevice);
        }
示例#6
0
        public static void DidFindADataBlockWithNdef(this IFmBluetoothSessionManagerDelegate This, NSDictionary ndef, string device, NSError error)
        {
            if (ndef == null)
            {
                throw new ArgumentNullException("ndef");
            }
            if (device == null)
            {
                throw new ArgumentNullException("device");
            }
            if (error == null)
            {
                throw new ArgumentNullException("error");
            }
            var nsdevice = NSString.CreateNative(device);

            global::ApiDefinitions.Messaging.void_objc_msgSend_IntPtr_IntPtr_IntPtr(This.Handle, Selector.GetHandle("didFindADataBlockWithNdef:fromDevice:withError:"), ndef.Handle, nsdevice, error.Handle);
            NSString.ReleaseNative(nsdevice);
        }
示例#7
0
        public static void DidFindATagUuid(this IFmBluetoothSessionManagerDelegate This, string UUID, string deviceId, NSError error)
        {
            if (UUID == null)
            {
                throw new ArgumentNullException("UUID");
            }
            if (deviceId == null)
            {
                throw new ArgumentNullException("deviceId");
            }
            if (error == null)
            {
                throw new ArgumentNullException("error");
            }
            var nsUUID     = NSString.CreateNative(UUID);
            var nsdeviceId = NSString.CreateNative(deviceId);

            global::ApiDefinitions.Messaging.void_objc_msgSend_IntPtr_IntPtr_IntPtr(This.Handle, Selector.GetHandle("didFindATagUuid:fromDevice:withError:"), nsUUID, nsdeviceId, error.Handle);
            NSString.ReleaseNative(nsUUID);
            NSString.ReleaseNative(nsdeviceId);
        }
示例#8
0
        public static void DidReturnResponseApdu(this IFmBluetoothSessionManagerDelegate This, string response, string device, NSError error)
        {
            if (response == null)
            {
                throw new ArgumentNullException("response");
            }
            if (device == null)
            {
                throw new ArgumentNullException("device");
            }
            if (error == null)
            {
                throw new ArgumentNullException("error");
            }
            var nsresponse = NSString.CreateNative(response);
            var nsdevice   = NSString.CreateNative(device);

            global::ApiDefinitions.Messaging.void_objc_msgSend_IntPtr_IntPtr_IntPtr(This.Handle, Selector.GetHandle("didReturnResponseApdu:fromDevice:withError:"), nsresponse, nsdevice, error.Handle);
            NSString.ReleaseNative(nsresponse);
            NSString.ReleaseNative(nsdevice);
        }