BluetoothLEAppearance
BluetoothLEAppearance
BluetoothLEAppearance
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 : sealed class BluetoothLEAppearance : IBluetoothLEAppearancepublic sealed class BluetoothLEAppearance : IBluetoothLEAppearancePublic NotInheritable Class BluetoothLEAppearance Implements IBluetoothLEAppearance// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v2)
|
Properties
Category Category Category Category
Gets the appearance category value of the Bluetooth LE device.
public : ushort Category { get; }public ushort Category { get; }Public ReadOnly Property Category As ushort// You can use this property in JavaScript.
- Value
- ushort ushort ushort ushort
The appearance category of the Bluetooth LE device. For more info see BluetoothLEAppearanceCategories
RawValue RawValue RawValue RawValue
Gets the appearance raw value of the Bluetooth LE device.
public : ushort RawValue { get; }public ushort RawValue { get; }Public ReadOnly Property RawValue As ushort// You can use this property in JavaScript.
- Value
- ushort ushort ushort ushort
The appearance raw value of the Bluetooth LE device.
SubCategory SubCategory SubCategory SubCategory
Gets the appearance subcategory value of the Bluetooth LE device.
public : ushort SubCategory { get; }public ushort SubCategory { get; }Public ReadOnly Property SubCategory As ushort// You can use this property in JavaScript.
- Value
- ushort ushort ushort ushort
The appearance subcategory of the Bluetooth LE device. For more info, see BluetoothLEAppearanceSubcategories
Methods
FromParts(UInt16, UInt16) FromParts(UInt16, UInt16) FromParts(UInt16, UInt16) FromParts(UInt16, UInt16)
Creates a BluetoothLEAppearance object by supplying values for Category (see BluetoothLEAppearanceCategories ) and Subcategory (see BluetoothLEAppearanceSubcategories ) of the Bluetooth LE device.
public : static BluetoothLEAppearance FromParts(unsigned short appearanceCategory, unsigned short appearanceSubCategory)public static BluetoothLEAppearance FromParts(UInt16 appearanceCategory, UInt16 appearanceSubCategory)Public Static Function FromParts(appearanceCategory As UInt16, appearanceSubCategory As UInt16) As BluetoothLEAppearance// You can use this method in JavaScript.
- appearanceCategory
- unsigned short UInt16 UInt16 UInt16
The Bluetooth LE appearance category. See BluetoothLEAppearanceSubcategories.
- appearanceSubCategory
- unsigned short UInt16 UInt16 UInt16
The Bluetooth LE appearance subcategory. See BluetoothLEAppearanceSubcategories.
The Bluetooth LE appearance object that was created from the appearance category and subcategory.
FromRawValue(UInt16) FromRawValue(UInt16) FromRawValue(UInt16) FromRawValue(UInt16)
Creates a BluetoothLEAppearance object by supplying for raw integer values representing the Category and Subcategory of the Bluetooth LE device.
public : static BluetoothLEAppearance FromRawValue(unsigned short rawValue)public static BluetoothLEAppearance FromRawValue(UInt16 rawValue)Public Static Function FromRawValue(rawValue As UInt16) As BluetoothLEAppearance// You can use this method in JavaScript.
- rawValue
- unsigned short UInt16 UInt16 UInt16
The raw integer value representing the appearance category and subcategory.
The Bluetooth LE appearance object that was created from the appearance category and subcategory.