C# 클래스 InTheHand.Devices.Enumeration.BluetoothLEDevice

Represents a Bluetooth LE device.
파일 보기 프로젝트 열기: inthehand/Charming

공개 메소드들

메소드 설명
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