BluetoothLEAppearance.FromParts(UInt16, UInt16) BluetoothLEAppearance.FromParts(UInt16, UInt16) BluetoothLEAppearance.FromParts(UInt16, UInt16) BluetoothLEAppearance.FromParts(UInt16, UInt16) BluetoothLEAppearance.FromParts(UInt16, UInt16) Method

Definition

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)
static BluetoothLEAppearance FromParts(UInt16 appearanceCategory, UInt16 appearanceSubCategory) const;
public static BluetoothLEAppearance FromParts(UInt16 appearanceCategory, UInt16 appearanceSubCategory)
Public Shared Function FromParts(appearanceCategory As UInt16, appearanceSubCategory As UInt16) As BluetoothLEAppearance
var bluetoothleAppearance = Windows.Devices.Bluetooth.BluetoothLEAppearance.fromParts(appearanceCategory, appearanceSubCategory);

Parameters

appearanceCategory
UInt16 UInt16 UInt16

The Bluetooth LE appearance category. See BluetoothLEAppearanceCategories.

appearanceSubCategory
UInt16 UInt16 UInt16

The Bluetooth LE appearance subcategory. See BluetoothLEAppearanceSubcategories.

Returns

The Bluetooth LE appearance object that was created from the appearance category and subcategory.

Additional features and requirements

Capabilities
bluetooth