Udostępnij za pośrednictwem


BluetoothMajorClass Enum

Definition

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

Name Value Description
Miscellaneous 0

Used when a more specific Major Class code is not suitable.

Computer 1

A computer. Example devices are desktop, notebook, PDA and organizer.

Phone 2

A phone. Example devices are cellular, cordless, pay phone and modem.

NetworkAccessPoint 3

A LAN or network Access Point.

AudioVideo 4

An audio or video device. Example devices are headset, speaker, stereo, video display and VCR.

Peripheral 5

A peripheral device. Examples are mouse, joystick and keyboard.

Imaging 6

An imaging device. Examples are printer, scanner, camera and display.

Wearable 7

A wearable device.

Toy 8

A toy.

Health 9

A health device. An example is a heart rate monitor.

Applies to