Added in API level 8

OnLoadCompleteListener


interface OnLoadCompleteListener
android.media.SoundPool.OnLoadCompleteListener

Summary

Public methods
abstract Unit
onLoadComplete(soundPool: SoundPool!, sampleId: Int, status: Int)

Called when a sound has completed loading.

Public methods

onLoadComplete

Added in API level 8
abstract fun onLoadComplete(
    soundPool: SoundPool!,
    sampleId: Int,
    status: Int
): Unit

Called when a sound has completed loading.

Parameters
soundPool SoundPool!: SoundPool object from the load() method
sampleId Int: the sample ID of the sound loaded.
status Int: the status of the load operation (0 = success)