Package org.robolectric.shadows
Class ShadowSoundPool.Playback
java.lang.Object
org.robolectric.shadows.ShadowSoundPool.Playback
- Enclosing class:
- ShadowSoundPool
public static final class ShadowSoundPool.Playback extends Object
Record of a single call to
SoundPool.play(int, float, float, int, int, float)
.-
Field Summary
Fields Modifier and Type Field Description float
leftVolume
int
loop
int
priority
float
rate
float
rightVolume
int
soundId
-
Constructor Summary
Constructors Constructor Description Playback(int soundId, float leftVolume, float rightVolume, int priority, int loop, float rate)
-
Method Summary
-
Field Details
-
soundId
public final int soundId -
leftVolume
public final float leftVolume -
rightVolume
public final float rightVolume -
priority
public final int priority -
loop
public final int loop -
rate
public final float rate
-
-
Constructor Details
-
Playback
public Playback(int soundId, float leftVolume, float rightVolume, int priority, int loop, float rate)
-
-
Method Details