2011年11月16日 星期三

[Android] Bluetooth - (3) APIs

Minim Android API Level Suggestion: Android 2.0 (Level 5)


Provided from API 5: Basic Functions



Provided from API 11: Working with Profiles

  • BluetoothProfile
    • A Bluetooth profile is a wireless interface specification for Bluetooth-based communication between devices.
  • BluetoothProfile.ServiceListener
    • The internal service that runs a particular profile
  • BluetoothA2dp
    • A2dp: Advanced Audio Distribution Profile
    • Defines how high quality audio can be streamed from one device to another over a Bluetooth connection.
    • To control the Bluetooth A2DP profile.
    • Only supports one connected Bluetooth A2dp device at a time.
  • BluetoothAssignedNumbers
    • Only include Company ID values.
    • Company Identifiers
  • BluetoothHeadset
    • Provides support for Bluetooth headsets to be used with mobile phones.
    • Controlling the Bluetooth Headset(Handsfree v1.5) Service.
    • Only supports one connected Bluetooth Headset at a time.


Provided from API 14: Bluetooth Health Devices

  • 提供使用藍芽進行健康照護,透過藍芽與監視裝置連線
  • BluetoothHealth
    • A proxy object for controlling the Bluetooth Service via IPC.BluetoothHealthCallback
    • 接收所監視的資訊與藍芽狀態。
  • BluetoothHealthAppConfiguration
    • 會從 BluetoothHealthCallback 得到此物件,其中關於連線設備的設定資訊。
    • ex: 可由 configuration 資訊來 initiate and terminate connections。



* Reference
- Bluetooth | Android Developers
- Bluetooth Glossary

沒有留言:

張貼留言