Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
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)