为什么 HMS Awareness 耳机连接障碍状态在 5 秒后从连接变为断开?

Why HMS Awareness headset connecting barrier status change from connected to disconnected after 5 Seconds?

当我使用 HMS Headset Awareness 连接障碍时,耳机会在 5 秒后断开连接。所以它在播放音乐时会出现问题。如何解决这个问题?

In connecting and disconnecting barrier status 将在 5 秒后变为 FALSE。您可以使用保持屏障来解决您的问题。 使用给定的 link 作为参考 https://developer.huawei.com/consumer/en/doc/development/HMS-References/awareness-barrier-headsetbarrier