BluetoothMajorClass Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates the Major Class code of the device, which is the general family of device with which the device is associated.
public enum class BluetoothMajorClass
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class BluetoothMajorClass
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum BluetoothMajorClass
var value = Windows.Devices.Bluetooth.BluetoothMajorClass.miscellaneous
Public Enum BluetoothMajorClass
- Inheritance
-
BluetoothMajorClass
- Attributes
Windows 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
|
Fields
AudioVideo | 4 | An audio or video device. Example devices are headset, speaker, stereo, video display and VCR. |
Computer | 1 | A computer. Example devices are desktop, notebook, PDA and organizer. |
Health | 9 | A health device. An example is a heart rate monitor. |
Imaging | 6 | An imaging device. Examples are printer, scanner, camera and display. |
Miscellaneous | 0 | Used when a more specific Major Class code is not suitable. |
NetworkAccessPoint | 3 | A LAN or network Access Point. |
Peripheral | 5 | A peripheral device. Examples are mouse, joystick and keyboard. |
Phone | 2 | A phone. Example devices are cellular, cordless, pay phone and modem. |
Toy | 8 | A toy. |
Wearable | 7 | A wearable device. |