@Implements(value=android.media.MediaActionSound.class, minSdk=16) public class ShadowMediaActionSound extends Object
MediaActionSound
.Constructor | Description |
---|---|
ShadowMediaActionSound() |
Modifier and Type | Method | Description |
---|---|---|
static int |
getPlayCount(int soundName) |
Get the number of times a sound has been played.
|
protected void |
play(int soundName) |
Instrumented call to
MediaActionSound.play(int) |
static void |
reset() |
public static int getPlayCount(int soundName)
@Resetter public static void reset()
@Implementation protected void play(int soundName)
MediaActionSound.play(int)