Chrome Bluetooth API 的 `powered` 和 `available` 之间有什么关系?

What's the relationship between Chrome Bluetooth API's `powered` and `available`?

chrome.bluetooth.getAdapterState() returns 具有字段 poweredavailable 的对象。两者有什么关系?

例如蓝牙适配器可以供电但不可用吗?可用但未供电如何?

我假设蓝牙适配器必须通电并且可用,这个假设正确吗?

如果设备不支持蓝牙或蓝牙守护进程已停止,则蓝牙适配器可能不可用。

当蓝牙适配器为 available 时,用户仍然可以打开和关闭它,因此 powered 字段可以是 truefalse.

是的,蓝牙适配器必须通电并可用。