Rate this page:

IAudioFileListener

Interface that provides API to handle audio file events.

Methods

onPrepared

Copy URL

void

onPrepared(

IAudioFile

audioFile
)

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

void

onStart(

IAudioFile

audioFile
)

Audio file playing is started.

Parameters

Returns

  • type:

    void

onStop

Copy URL

void

onStop(

IAudioFile

audioFile
)

Audio file playing is stopped.

Parameters

Returns

  • type:

    void