监听蓝牙连接上后建立sco打开蓝牙的操作有2种,它们的区别是什么呢?
收BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED蓝牙连接的广播,如果是connected,调用AudioManager.startBluetoothSco()和AudioManager.setBluetoothScoOn(true)
收BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED蓝牙连接的广播,如果是connected,调用BluetoothHeadset.connectAudio()
AudioManager.startBluetoothSco()和BluetoothHeadset.connectAudio()之间的区别是什么呢?