BluetoothClassOfDevice BluetoothClassOfDevice BluetoothClassOfDevice BluetoothClassOfDevice Class

Definition

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

public : sealed class BluetoothClassOfDevice : IBluetoothClassOfDevicepublic sealed class BluetoothClassOfDevice : IBluetoothClassOfDevicePublic NotInheritable Class BluetoothClassOfDevice Implements IBluetoothClassOfDevice// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth

Properties

MajorClass MajorClass MajorClass MajorClass

Gets the Major Class code of the Bluetooth device.

public : BluetoothMajorClass MajorClass { get; }public BluetoothMajorClass MajorClass { get; }Public ReadOnly Property MajorClass As BluetoothMajorClass// You can use this property in JavaScript.
Value
BluetoothMajorClass BluetoothMajorClass BluetoothMajorClass BluetoothMajorClass

One of the enumeration values that specifies the device's Major Class code.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth

MinorClass MinorClass MinorClass MinorClass

Gets the Minor Class code of the device.

public : BluetoothMinorClass MinorClass { get; }public BluetoothMinorClass MinorClass { get; }Public ReadOnly Property MinorClass As BluetoothMinorClass// You can use this property in JavaScript.
Value
BluetoothMinorClass BluetoothMinorClass BluetoothMinorClass BluetoothMinorClass

One of the enumeration values that specifies the device's Minor Class code.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth

RawValue RawValue RawValue RawValue

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

public : unsigned int RawValue { get; }public uint RawValue { get; }Public ReadOnly Property RawValue As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The Bluetooth Class Of Device information, represented as a raw integer value.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth

ServiceCapabilities ServiceCapabilities ServiceCapabilities ServiceCapabilities

Gets the service capabilities of the device.

public : BluetoothServiceCapabilities ServiceCapabilities { get; }public BluetoothServiceCapabilities ServiceCapabilities { get; }Public ReadOnly Property ServiceCapabilities As BluetoothServiceCapabilities// You can use this property in JavaScript.
Value
BluetoothServiceCapabilities BluetoothServiceCapabilities BluetoothServiceCapabilities BluetoothServiceCapabilities

One of the enumeration values that specifies the service capabilities of the device.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth

Methods

FromParts(BluetoothMajorClass, BluetoothMinorClass, BluetoothServiceCapabilities) FromParts(BluetoothMajorClass, BluetoothMinorClass, BluetoothServiceCapabilities) FromParts(BluetoothMajorClass, BluetoothMinorClass, BluetoothServiceCapabilities) FromParts(BluetoothMajorClass, BluetoothMinorClass, BluetoothServiceCapabilities)

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

public : static BluetoothClassOfDevice FromParts(BluetoothMajorClass majorClass, BluetoothMinorClass minorClass, BluetoothServiceCapabilities serviceCapabilities)public static BluetoothClassOfDevice FromParts(BluetoothMajorClass majorClass, BluetoothMinorClass minorClass, BluetoothServiceCapabilities serviceCapabilities)Public Static Function FromParts(majorClass As BluetoothMajorClass, minorClass As BluetoothMinorClass, serviceCapabilities As BluetoothServiceCapabilities) As BluetoothClassOfDevice// You can use this method in JavaScript.
Parameters
majorClass
BluetoothMajorClass BluetoothMajorClass BluetoothMajorClass BluetoothMajorClass

One of the enumeration values that specifies the device's main function.

minorClass
BluetoothMinorClass BluetoothMinorClass BluetoothMinorClass BluetoothMinorClass

One of the enumeration values that specifies the minor class value to be used.

serviceCapabilities
BluetoothServiceCapabilities BluetoothServiceCapabilities BluetoothServiceCapabilities BluetoothServiceCapabilities

One of the enumeration values that specifies the service the device supports.

Returns
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth

FromRawValue(UInt32) FromRawValue(UInt32) FromRawValue(UInt32) FromRawValue(UInt32)

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

public : static BluetoothClassOfDevice FromRawValue(unsigned int rawValue)public static BluetoothClassOfDevice FromRawValue(UInt32 rawValue)Public Static Function FromRawValue(rawValue As UInt32) As BluetoothClassOfDevice// You can use this method in JavaScript.
Parameters
rawValue
unsigned int UInt32 UInt32 UInt32

The raw integer value from which to create the BluetoothClassOfDevice object.

Returns
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth