# BackgroundAudioManager.onCanplay(function callback)

with Promise style call: Not supported

Mini Program plugin: Support

Listen for background audio to enter a playable state event. But it doesn't guarantee a smooth playback

# parameter

# function callback

Callback function for background audio entering playable state event