Skip to main content
Version: Next

Taro.onBackgroundAudioStop(callback)

Listens on the event of stopping music playback.

bug & tip:

Reference

Type

(callback: (res: CallbackResult) => void) => void

Parameters

PropertyTypeDescription
callback(res: CallbackResult) => voidThe callback function for the event of stopping music playback.

API Support

APIWeChat Mini-ProgramH5React Native
Taro.onBackgroundAudioStop✔️