正文
一、结构
public final class BluetoothClass.Device extends Object
java.lang.Object
android.bluetooth.BluetoothClass.Device
二、概述
定义所有的设备类常量
每个BluetoothClass
对一个带有主要和较小部分的设备类进行编码。
BluetoothClass.Device
中的常量代表主要和较小的设备类部分(完整的设备类)的组合。
BluetoothClass.Device.Major
的常量只能代表主要设备类。
参见服务类的常量
BluetoothClass.Service
。
三、内部类
class BluetoothClass.Device.Major
定义了所有的主要设备类常量
四、常量
int AUDIO_VIDEO_CAMCORDER
int AUDIO_VIDEO_CAR_AUDIO
int AUDIO_VIDEO_HANDSFREE
int AUDIO_VIDEO_HEADPHONES
int AUDIO_VIDEO_HIFI_AUDIO
int AUDIO_VIDEO_LOUDSPEAKER
int AUDIO_VIDEO_MICROPHONE
int AUDIO_VIDEO_PORTABLE_AUDIO
int AUDIO_VIDEO_SET_TOP_BOX
int AUDIO_VIDEO_UNCATEGORIZED
int AUDIO_VIDEO_VCR
int AUDIO_VIDEO_VIDEO_CAMERA
int AUDIO_VIDEO_VIDEO_CONFERENCING
int AUDIO_VIDEO_VIDEO_DISPLAY_AND_LOUDSPEAKER
int AUDIO_VIDEO_VIDEO_GAMING_TOY
int AUDIO_VIDEO_VIDEO_MONITOR
int AUDIO_VIDEO_WEARABLE_HEADSET
int COMPUTER_DESKTOP
int COMPUTER_HANDHELD_PC_PDA
int COMPUTER_LAPTOP
int COMPUTER_PALM_SIZE_PC_PDA
int COMPUTER_SERVER
int COMPUTER_UNCATEGORIZED
int COMPUTER_WEARABLE
int HEALTH_BLOOD_PRESSURE
int HEALTH_DATA_DISPLAY
int HEALTH_GLUCOSE
int HEALTH_PULSE_OXIMETER
int HEALTH_PULSE_RATE
int HEALTH_THERMOMETER
int HEALTH_UNCATEGORIZED
int HEALTH_WEIGHING
int PHONE_CELLULAR
int PHONE_CORDLESS
int PHONE_ISDN
int PHONE_MODEM_OR_GATEWAY
int PHONE_SMART
int PHONE_UNCATEGORIZED
int TOY_CONTROLLER
int TOY_DOLL_ACTION_FIGURE
int TOY_GAME
int TOY_ROBOT
int TOY_UNCATEGORIZED
int TOY_VEHICLE
int WEARABLE_GLASSES
int WEARABLE_HELMET
int WEARABLE_JACKET
int WEARABLE_PAGER
int WEARABLE_UNCATEGORIZED
int WEARABLE_WRIST_WATCH
本文转自over140 51CTO博客,原文链接:http://blog.51cto.com/over140/582533,如需转载请自行联系原作者