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