Taro.onBackgroundAudioStop(callback)
Listens on the event of stopping music playback.
bug & tip:
Type
(callback: (res: CallbackResult) => void) => void
Parameters
Property | Type | Description |
---|---|---|
callback | (res: CallbackResult) => void | The callback function for the event of stopping music playback. |
API Support
API | WeChat Mini-Program | H5 | React Native |
---|---|---|---|
Taro.onBackgroundAudioStop | ✔️ |