C# Class InTheHand.Devices.Enumeration.BluetoothLEDevice

Represents a Bluetooth LE device.
Afficher le fichier Open project: inthehand/Charming

Méthodes publiques

Méthode Description
FromBluetoothAddressAsync ( ulong bluetoothAddress ) : Task

Returns a BluetoothLEDevice object for the given BluetoothAddress.

FromIdAsync ( string deviceId ) : Task

Returns a BluetoothLEDevice object for the given Id.

GetDeviceSelector ( ) : string

Gets an Advanced Query Syntax (AQS) string for identifying all Bluetooth Low Energy (LE) devices. This string is passed to the FindAllAsync or CreateWatcher method in order to get a list of Bluetooth LE devices.

Private Methods

Méthode Description
BluetoothLEDevice ( CBPeripheral peripheral ) : System
BluetoothLEDevice ( Windows device ) : System
_peripheral_DiscoveredService ( object sender, Foundation e ) : void
_peripheral_UpdatedName ( object sender, EventArgs e ) : void

Method Details

FromBluetoothAddressAsync() public static méthode

Returns a BluetoothLEDevice object for the given BluetoothAddress.
public static FromBluetoothAddressAsync ( ulong bluetoothAddress ) : Task
bluetoothAddress ulong
Résultat Task

FromIdAsync() public static méthode

Returns a BluetoothLEDevice object for the given Id.
public static FromIdAsync ( string deviceId ) : Task
deviceId string
Résultat Task

GetDeviceSelector() public static méthode

Gets an Advanced Query Syntax (AQS) string for identifying all Bluetooth Low Energy (LE) devices. This string is passed to the FindAllAsync or CreateWatcher method in order to get a list of Bluetooth LE devices.
public static GetDeviceSelector ( ) : string
Résultat string