📜  将音频输出到蓝牙 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:02.551000             🧑  作者: Mango

代码示例2
mAudioManager.startBluetoothSco(); // This method can be used by applications wanting to send and received audio to/from a bluetooth SCO headset while the phone is not in call. 
mAudioManager.setBluetoothScoOn(true); // set true to use bluetooth SCO for communications; false to not use bluetooth SCO for communications