# InnerAudioContext.onCanplay(function callback)

with Promise style call: Not supported

Mini Program plugin: Support

Listen for events in which audio enters playable state. But it doesn't guarantee a smooth playback

# parameter

# function callback

Callback function for audio entering events that can be played