Example usage for Java android.media SoundPool fields, constructors, methods, implement or subclass
The text is from its open source code.
int | load(Context context, int resId, int priority) Load the sound from the specified APK resource. |
int | play(int soundID, float leftVolume, float rightVolume, int priority, int loop, float rate) Play a sound from a sound ID. |
void | release() Release the SoundPool resources. |
void | setLoop(int streamID, int loop) Set loop mode. |
void | setOnLoadCompleteListener(OnLoadCompleteListener listener) Sets the callback hook for the OnLoadCompleteListener. |