コード例 #1
0
 public virtual void StartReaderWithPeripheral(global::CoreBluetooth.CBPeripheral peripheral)
 {
     if (peripheral == null)
     {
         throw new ArgumentNullException("peripheral");
     }
     if (IsDirectBinding)
     {
         global::ApiDefinitions.Messaging.void_objc_msgSend_IntPtr(this.Handle, Selector.GetHandle("startReaderWithPeripheral:"), peripheral.Handle);
     }
     else
     {
         global::ApiDefinitions.Messaging.void_objc_msgSendSuper_IntPtr(this.SuperHandle, Selector.GetHandle("startReaderWithPeripheral:"), peripheral.Handle);
     }
 }
コード例 #2
0
 public virtual void DidAttachPeripheral(ABTBluetoothReader bluetoothReader, global::CoreBluetooth.CBPeripheral peripheral, NSError error)
 {
     if (bluetoothReader == null)
     {
         throw new ArgumentNullException("bluetoothReader");
     }
     if (peripheral == null)
     {
         throw new ArgumentNullException("peripheral");
     }
     if (error == null)
     {
         throw new ArgumentNullException("error");
     }
     if (IsDirectBinding)
     {
         global::ApiDefinitions.Messaging.void_objc_msgSend_IntPtr_IntPtr_IntPtr(this.Handle, Selector.GetHandle("bluetoothReader:didAttachPeripheral:error:"), bluetoothReader.Handle, peripheral.Handle, error.Handle);
     }
     else
     {
         global::ApiDefinitions.Messaging.void_objc_msgSendSuper_IntPtr_IntPtr_IntPtr(this.SuperHandle, Selector.GetHandle("bluetoothReader:didAttachPeripheral:error:"), bluetoothReader.Handle, peripheral.Handle, error.Handle);
     }
 }
コード例 #3
0
 public virtual void RemoveDevicewithPeripheral(global::CoreBluetooth.CBPeripheral peripheral)
 {
     throw new You_Should_Not_Call_base_In_This_Method();
 }
コード例 #4
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);
 }
コード例 #5
0
 public static void DidDetectReader(this IABTBluetoothReaderManagerDelegate This, ABTBluetoothReaderManager bluetoothReaderManager, ABTBluetoothReader reader, global::CoreBluetooth.CBPeripheral peripheral, NSError error)
 {
     if (bluetoothReaderManager == null)
     {
         throw new ArgumentNullException("bluetoothReaderManager");
     }
     if (reader == null)
     {
         throw new ArgumentNullException("reader");
     }
     if (peripheral == null)
     {
         throw new ArgumentNullException("peripheral");
     }
     if (error == null)
     {
         throw new ArgumentNullException("error");
     }
     global::ApiDefinitions.Messaging.void_objc_msgSend_IntPtr_IntPtr_IntPtr_IntPtr(This.Handle, Selector.GetHandle("bluetoothReaderManager:didDetectReader:peripheral:error:"), bluetoothReaderManager.Handle, reader.Handle, peripheral.Handle, error.Handle);
 }
コード例 #6
0
 public virtual void DidDetectReader(ABTBluetoothReaderManager bluetoothReaderManager, ABTBluetoothReader reader, global::CoreBluetooth.CBPeripheral peripheral, NSError error)
 {
     throw new You_Should_Not_Call_base_In_This_Method();
 }