需要自己监听一个回调audioOutputDeviceChangeWithInfo,然后自己处理逻辑(是否暂停)请参考以下链接:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-media-V5\#onaudiooutputdevicechangewithinfo11
需要自己监听一个回调audioOutputDeviceChangeWithInfo,然后自己处理逻辑(是否暂停)
请参考以下链接:
https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-media-V5\#onaudiooutputdevicechangewithinfo11