BluetoothUuidHelper Klasse
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Eine Hilfsklasse, die Methoden zum Konvertieren zwischen bluetooth device UUID und short ID bereitstellt.
public ref class BluetoothUuidHelper abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class BluetoothUuidHelper final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class BluetoothUuidHelper
Public Class BluetoothUuidHelper
- Vererbung
- Attribute
Windows-Anforderungen
| Anforderungen | Beschreibung |
|---|---|
| Gerätefamilie |
Windows 10 Creators Update (eingeführt in 10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (eingeführt in v4.0)
|
| App-Funktionen |
bluetooth
|
Methoden
| Name | Beschreibung |
|---|---|
| FromShortId(UInt32) |
Gibt die UUID des Bluetooth-Geräts aus einer kurzen ID zurück. |
| TryGetShortId(Guid) |
Versucht, die kurze Bluetooth-Geräte-ID von einer UUID abzurufen. |