to top
Android APIs
Added in 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

? Examples
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)

Added in 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)
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.