lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
added in API level 8

SoundPool.OnLoadCompleteListener

public static interface SoundPool.OnLoadCompleteListener

android.media.SoundPool.OnLoadCompleteListener


Summary

Public methods

abstract void onLoadComplete(SoundPool soundPool, int sampleId, int status)

Called when a sound has completed loading.

Public methods

onLoadComplete

added in API level 8
public abstract void onLoadComplete (SoundPool soundPool, 
                int sampleId, 
                int status)

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)