Android Chinese API (--bluetoothclass.device)

Source: Internet
Author: User

Objective

This chapter is Android.bluetooth.BluetoothClass.Device, for the Android Bluetooth section of the chapter translation, version of the Android 2.3 R1, translated from Zhongshan University's "Android Club Sysu", Welcome to their wiki:http://www.android-wiki.net, thanks again for "Android Club Sysu"! Look forward to your participation in the translation of the Android Chinese API, contact me [email protected].

Statement

Welcome reprint, but please keep the original source of the article:)

Android Club sysu:http://www.android-wiki.net

Blog Park: http://www.cnblogs.com/

Android Chinese translation group: http://code.taobao.org/project/view/404/

Body

First, the structure

Public final class Bluetoothclass.device extends Object

Java.lang.Object

Android.bluetooth.BluetoothClass.Device

Ii. Overview

  To define all device class constants

  Each BluetoothClass encodes a device class with a primary and a smaller part.

    BluetoothClass.DeviceThe constants in represent the combination of the primary and the small part of the device class (the complete device Class).

    BluetoothClass.Device.MajorConstants can only represent the primary device class.

  See服务类的常量BluetoothClass.Service

Iii. Internal class

class BluetoothClass.Device.Major

defines all the major device class 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

Here the constant translation is empty, because the original text also has no comment, here also for the time being empty first, later found the material to fill up.

Android Chinese API (--bluetoothclass.device)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.