public static class BluetoothDeviceClass.MajorClass extends Object
BluetoothDeviceClass#getMajorClass().| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static int |
AUDIO_VIDEO |
Indicates the major class value for the audio or video
(including the headset, speaker, stereo, video display, and VCR).
|
static int |
COMPUTER |
Indicates the major class value for the computer (including the desktop, notebook, PDA, and organizer).
|
static int |
HEALTH |
Indicates the major class value for health.
|
static int |
IMAGING |
Indicates the major class value for imaging (including the printer, scanner, camera, and display).
|
static int |
MISCELLANEOUS |
Indicates the major class value for the miscellaneous.
|
static int |
NETWORK_ACCESS |
Indicates the major class value for the local area network (LAN) and network access point.
|
static int |
PERIPHERAL |
Indicates the major class value for peripherals (including the mouse, joystick, and keyboard).
|
static int |
PHONE |
Indicates the major class value for the phone (including the cellular, cordless, pay phone, and modem).
|
static int |
TOY |
Indicates the major class value for the toy.
|
static int |
UNCATEGORIZED |
Indicates the major class value for the uncategorized (device code not specified).
|
static int |
WEARABLE |
Indicates the major class value for wearables.
|
| 构造器 | 说明 |
|---|---|
MajorClass() |
public static final int AUDIO_VIDEO
public static final int COMPUTER
public static final int HEALTH
public static final int IMAGING
public static final int MISCELLANEOUS
public static final int NETWORK_ACCESS
public static final int PERIPHERAL
public static final int PHONE
public static final int TOY
public static final int UNCATEGORIZED
public static final int WEARABLE