C# Класс InTheHand.Devices.Enumeration.BluetoothLEDevice

Represents a Bluetooth LE device.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
BluetoothLEDevice ( CBPeripheral peripheral ) : System
BluetoothLEDevice ( Windows device ) : System
_peripheral_DiscoveredService ( object sender, Foundation e ) : void
_peripheral_UpdatedName ( object sender, EventArgs e ) : void

Описание методов

FromBluetoothAddressAsync() публичный статический Метод

Returns a BluetoothLEDevice object for the given BluetoothAddress.
public static FromBluetoothAddressAsync ( ulong bluetoothAddress ) : Task
bluetoothAddress ulong
Результат Task

FromIdAsync() публичный статический Метод

Returns a BluetoothLEDevice object for the given Id.
public static FromIdAsync ( string deviceId ) : Task
deviceId string
Результат Task

GetDeviceSelector() публичный статический Метод

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
Результат string