Exemplo n.º 1
0
 internal BluetoothGattDescriptor(ManagedObject managedObject)
     : this(
         managedObject.CreateProxy <IGattDescriptor1>(Services.Base),
         managedObject.GetPropertiesForInterface <GattDescriptor1Properties>(Interfaces.GattDescriptor1)
         )
 {
 }
Exemplo n.º 2
0
 internal BluetoothGattCharacteristic(ManagedObject managedObject)
     : this(
         managedObject.CreateProxy <IGattCharacteristic1>(Services.Base),
         managedObject.GetPropertiesForInterface <GattCharacteristic1Properties>(Interfaces.GattCharacteristic1)
         )
 {
 }
Exemplo n.º 3
0
 internal static BluetoothDevice Create(ManagedObject managedObject)
 {
     return(new BluetoothDevice(managedObject.CreateProxy <IDevice1>(Services.Base),
                                managedObject.GetPropertiesForInterface <Device1Properties>(Interfaces.Device1)));
 }
Exemplo n.º 4
0
 public static BluetoothAdapter Create(ManagedObject managedObject)
 {
     return(new BluetoothAdapter(managedObject.CreateProxy <IAdapter1>(Services.Base),
                                 managedObject.GetPropertiesForInterface <Adapter1Properties>(Interfaces.Adapter1)));
 }