wx.onBackgroundAudioPlay(function listener)
从基础库 1.2.0 开始,本接口停止维护,请使用 wx.getBackgroundAudioManager 代替
小程序插件:不支持
微信 鸿蒙 OS 版:支持
功能描述
监听音乐播放事件。
参数
function listener
音乐播放事件的监听函数
The translations are provided by WeChat Translation and are for reference only. In case of any inconsistency and discrepancy between the Chinese version and the English version, the Chinese version shall prevail.Incorrect translation. Tap to report.