Java android.media SoundPool fields, constructors, methods, implement or subclass

Example usage for Java android.media SoundPool fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.media SoundPool.

The text is from its open source code.

Constructor

Method

intload(Context context, int resId, int priority)
Load the sound from the specified APK resource.
intplay(int soundID, float leftVolume, float rightVolume, int priority, int loop, float rate)
Play a sound from a sound ID.
voidrelease()
Release the SoundPool resources.
voidsetLoop(int streamID, int loop)
Set loop mode.
voidsetOnLoadCompleteListener(OnLoadCompleteListener listener)
Sets the callback hook for the OnLoadCompleteListener.