openBluetoothAdapter的几个问题
发布于 6 年前 作者 chaolong 16364 次浏览 来自 问答
  1. openBluetoothAdapter和closeBluetoothAdapter是否要成对出现

  2. openBluetoothAdapter fail后,onBLuetoothAdapaterStateChange监听到蓝牙适配器available后,是否还需要调用openBluetoothAdapter?如果open和close需要成对出现的话,是否要调用两遍close。

  3. onBLuetoothAdapaterStateChange监听到蓝牙适配器不可用后,是否需要closeBluetoothAdapater。在监听到蓝牙适配器可用后,再次openBluetoothAdapter。

回到顶部