bn.onAudioInterruptionEnd
▸ onAudioInterruptionEnd(cb
): void
description
Listen for audio interrupt end event. Received. onAudioInterruptionBegin After the event, all audio in the Mini Program will be suspended and can be played again after receiving this event.
example
bn.onAudioInterruptionEnd(() => {
console.log('audio interruption ends')
})
Parameters
Name | Type |
---|---|
cb | AudioInterruptionCallback |
Returns
void
AudioInterruptionCallback
Ƭ AudioInterruptionCallback: () => void
Type declaration
▸ (): void
Returns
void