Share via


BluetoothLEAppearance Class

Definition

Provides functionality to determine the Bluetooth Low Energy (LE) Appearance information for a device. To get an instance of this class, call the BluetoothLEAppearance.FromRawValue method or the BluetoothLEAppearance.FromParts method.

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
Inheritance
Object Platform::Object IInspectable BluetoothLEAppearance
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)
App capabilities
bluetooth

Properties

Category

Gets the appearance category value of the Bluetooth LE device.

RawValue

Gets the appearance raw value of the Bluetooth LE device.

SubCategory

Gets the appearance subcategory value of the Bluetooth LE device.

Methods

FromParts(UInt16, UInt16)

Creates a BluetoothLEAppearance object by supplying values for Category (see BluetoothLEAppearanceCategories) and Subcategory (see BluetoothLEAppearanceSubcategories) of the Bluetooth LE device.

FromRawValue(UInt16)

Creates a BluetoothLEAppearance object by supplying for raw integer values representing the Category and Subcategory of the Bluetooth LE device.

Applies to