BluetoothLEAppearance クラス

定義

デバイスの Bluetooth 低エネルギー (LE) の外観情報を決定する機能を提供します。 このクラスのインスタンスを取得するには、 BluetoothLEAppearance.FromRawValue メソッドまたは 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
継承
Object Platform::Object IInspectable BluetoothLEAppearance
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox で導入)
API contract
Windows.Foundation.UniversalApiContract (v2.0 で導入)
アプリの機能
bluetooth

プロパティ

Category

Bluetooth LE デバイスの外観カテゴリ値を取得します。

RawValue

Bluetooth LE デバイスの外観の未加工の値を取得します。

SubCategory

Bluetooth LE デバイスの外観サブカテゴリ値を取得します。

メソッド

FromParts(UInt16, UInt16)

Bluetooth LE デバイスの Category (BluetoothLEAppearanceCategories を参照) と Subcategory (BluetoothLEAppearanceSubcategories を参照) の値を指定して、BluetoothLEAppearance オブジェクトを作成します。

FromRawValue(UInt16)

Bluetooth LE デバイスの Category と Subcategory を表す未加工の整数値を指定して、 BluetoothLEAppearance オブジェクトを作成します。

適用対象