概述BluetoothA2dpSink用于控制蓝牙A2DP接收器配置文件的公共API。简单而言,它是蓝牙音箱端的操作代理,可以控制蓝牙A2DP协议的连接断开,以及配置信息的查询等。初始化BluetoothA2dpSink的实例通过BluetoothAdapter的getProfileProxy获取。示例:publicvoidgetA2DPSinkProxy(Contextcontext){BluetoothAdapter.getDefaultAdapter().getProfileProxy(context,newBluetoothProfile.ServiceListener(){@Over