Rate this page:

IAudioFileListener

Interface that provides API to handle audio file events.

Methods

onPrepared

Copy URL
onPrepared(audioFile: 

IAudioFile

):

void

Audio file is ready to be played.

If IAudioFile.play has been called before this event, audio file is played automatically.

Parameters

Returns

  • type:

    void

onStart

Copy URL
onStart(audioFile: 

IAudioFile

):

void

Audio file playing is started.

Parameters

Returns

  • type:

    void

onStop

Copy URL
onStop(audioFile: 

IAudioFile

):

void

Audio file playing is stopped.

Parameters

Returns

  • type:

    void