Preface
This chapter is about android. bluetooth. bluetoothClass. device, for Android Bluetooth part chapter translation, version for Android 2.3 r1, translation from Sun Yat-sen University's "Android Club SYSU", welcome to visit their WIKI: http://www.android-wiki.net, thanks again for "Android Club SYSU "! I look forward to your participation in Android Chinese API translation, contact me over140@gmail.com.
Statement
You are welcome to repost, but please keep the original source of the article :)
Android Club SYSU: http://www.android-wiki.net
Blog Garden: http://www.cnblogs.com/
Android Chinese translation group: http://code.taobao.org/project/view/404/
Body
I. Structure
Public final class extends thclass. Device extends Object
Java. lang. Object
Android. bluetooth. javasthclass. Device
Ii. Overview
Define all device Constants
EachBluetoothClass
Encode a device class with a major and a small part.
BluetoothClass.Device
Constants in represent a combination of the main and small device classes (complete device classes.
BluetoothClass.Device.Major
The constant can only represent the main device class.
SeeService class constant
BluetoothClass.Service
。
Iii. Internal class
Class effecthclass. Device. Major
Defines all major device Constants
Iv. Constants
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
End
Constant translation is empty here, because there is no comment in the original text, and it is empty now. Later, you can find the materials and add them.