Share via


BluetoothLEAppearance Classe

Definizione

Fornisce funzionalità per determinare le informazioni sull'aspetto Bluetooth Low Energy (LE) per un dispositivo. Per ottenere un'istanza di questa classe, chiamare il metodo BluetoothLEAppearance.FromRawValue o il metodo BluetoothLEAppearance.FromParts .

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
Ereditarietà
Object Platform::Object IInspectable BluetoothLEAppearance
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 (è stato introdotto in 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v2.0)
Funzionalità dell'app
bluetooth

Proprietà

Category

Ottiene il valore della categoria di aspetto del dispositivo Bluetooth LE.

RawValue

Ottiene il valore non elaborato dell'aspetto del dispositivo Bluetooth LE.

SubCategory

Ottiene il valore della sottocategoria dell'aspetto del dispositivo Bluetooth LE.

Metodi

FromParts(UInt16, UInt16)

Crea un oggetto BluetoothLEAppearance fornendo valori per Category (vedere BluetoothLEAppearanceCategories) e Subcategory (vedere BluetoothLEAppearanceSubcategories) del dispositivo Bluetooth LE.

FromRawValue(UInt16)

Crea un oggetto BluetoothLEAppearance specificando i valori integer non elaborati che rappresentano la categoria e la sottocategoria del dispositivo Bluetooth LE.

Si applica a