BluetoothClassOfDevice Class

Definition

Provides functionality to determine the Bluetooth Class Of Device (Bluetooth COD) information for a device.

public ref class BluetoothClassOfDevice sealed
class BluetoothClassOfDevice sealed
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.DualApiPartition(version=167772160)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Static(typeof(Windows.Devices.Bluetooth.IBluetoothClassOfDeviceStatics), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class BluetoothClassOfDevice
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.DualApiPartition(version=167772160)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Static(typeof(Windows.Devices.Bluetooth.IBluetoothClassOfDeviceStatics), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class BluetoothClassOfDevice
Public NotInheritable Class BluetoothClassOfDevice
Inheritance
BluetoothClassOfDevice
Attributes

Windows 10 requirements

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

Properties

MajorClass

Gets the Major Class code of the Bluetooth device.

MinorClass

Gets the Minor Class code of the device.

RawValue

Gets the Bluetooth Class Of Device information, represented as an integer value.

ServiceCapabilities

Gets the service capabilities of the device.

Methods

FromParts(BluetoothMajorClass, BluetoothMinorClass, BluetoothServiceCapabilities)

Creates a BluetoothClassOfDevice object by supplying values for BluetoothMajorClass, BluetoothMinorClass and BluetoothClassOfDevice.

FromRawValue(UInt32)

Creates a BluetoothClassOfDevice object from a raw integer value representing the Major Class, Minor Class and Service Capabilities of the device.

Applies to