Android 蓝牙学习 @# Android 蓝牙
目录
2.1 接收BluetoothDevice.BOND_BONDED广播
2.3 btConnector.openConnection
3.5 A2dpStateMachine处理A2dpStateMachine.CONNECT消息
3.6 mA2dpNativeInterface.connectA2dp
1. BluetoothA2dp
先看看BluetoothA2dp这个类的介绍
android-12.0.0_r2/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
48/**
49 * This class provides the public APIs to control the Bluetooth A2DP
50 * profile.
51 *
52 * <p>BluetoothA2dp is a proxy object for controlling the Bluetooth A2DP
53 * Service via IPC. Use {@link BluetoothAdapter#getProfileProxy} to get
54 * the BluetoothA2dp proxy object.
55 *
56 * <p> Android only supports one connected Bluetooth A2dp device at a time.
57 * Each method is p