BluetoothLEAppearance 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.
Stellt Funktionen bereit, um die Bluetooth Low Energy (LE)-Darstellungsinformationen für ein Gerät zu ermitteln. Rufen Sie zum Abrufen einer Instanz dieser Klasse die BluetoothLEAppearance.FromRawValue-Methode oder die BluetoothLEAppearance.FromParts-Methode auf.
public ref class BluetoothLEAppearance sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class BluetoothLEAppearance final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class BluetoothLEAppearance
Public NotInheritable Class BluetoothLEAppearance
- Vererbung
- Attribute
Windows-Anforderungen
| Anforderungen | Beschreibung |
|---|---|
| Gerätefamilie |
Windows 10 (eingeführt in 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (eingeführt in v2.0)
|
| App-Funktionen |
bluetooth
|
Eigenschaften
| Name | Beschreibung |
|---|---|
| Category |
Ruft den Darstellungskategoriewert des Bluetooth LE-Geräts ab. |
| RawValue |
Ruft den Unformatierten Darstellungswert des Bluetooth LE-Geräts ab. |
| SubCategory |
Ruft den Darstellungsunterkategoriewert des Bluetooth LE-Geräts ab. |
Methoden
| Name | Beschreibung |
|---|---|
| FromParts(UInt16, UInt16) |
Erstellt ein BluetoothLEAppearance -Objekt durch Bereitstellen von Werten für Category (siehe BluetoothLEAppearanceCategories) und Subcategory (siehe BluetoothLEAppearanceSubcategories) des Bluetooth LE-Geräts. |
| FromRawValue(UInt16) |
Erstellt ein BluetoothLEAppearance -Objekt, indem für unformatierte ganzzahlige Werte bereitgestellt werden, die die Kategorie und Unterkategorie des Bluetooth LE-Geräts darstellen. |