BluetoothClassOfDevice クラス

定義

デバイスの Bluetooth Class Of Device (Bluetooth COD) 情報を決定する機能を提供します。

public ref class BluetoothClassOfDevice sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class BluetoothClassOfDevice final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class BluetoothClassOfDevice
Public NotInheritable Class BluetoothClassOfDevice
継承
Object Platform::Object IInspectable BluetoothClassOfDevice
属性

Windows の要件

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

プロパティ

MajorClass

Bluetooth デバイスのメジャー クラス コードを取得します。

MinorClass

デバイスのマイナー クラス コードを取得します。

RawValue

整数値として表される Bluetooth クラスのデバイス情報を取得します。

ServiceCapabilities

デバイスのサービス機能を取得します。

メソッド

FromParts(BluetoothMajorClass, BluetoothMinorClass, BluetoothServiceCapabilities)

BluetoothMajorClassBluetoothMinorClass、BluetoothClassOfDevice の値を指定して、BluetoothClassOfDevice オブジェクトを作成します

FromRawValue(UInt32)

デバイスのメジャー クラス、マイナー クラス、サービス機能を表す生の整数値から BluetoothClassOfDevice オブジェクトを作成します。

適用対象