to top
Android APIs
Since: API Level 8
public static interface

SoundPool.OnLoadCompleteListener

android.media.SoundPool.OnLoadCompleteListener

Class Overview

Interface definition for a callback to be invoked when all the sounds are loaded.

Summary

Public Methods
abstract void onLoadComplete(SoundPool soundPool, int sampleId, int status)
Called when a sound has completed loading.

Public Methods

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

Since: API Level 8

Called when a sound has completed loading.

Parameters
soundPool the sample ID of the sound loaded.
status the status of the load operation (0 = success)