Package org.robolectric.shadows
Class ShadowMediaActionSound
java.lang.Object
org.robolectric.shadows.ShadowMediaActionSound
@Implements(value=android.media.MediaActionSound.class, minSdk=16) public class ShadowMediaActionSound extends Object
A shadow implementation of 
MediaActionSound.- 
Constructor SummaryConstructors Constructor Description ShadowMediaActionSound()
- 
Method SummaryModifier and Type Method Description static intgetPlayCount(int soundName)Get the number of times a sound has been played.protected voidplay(int soundName)Instrumented call toMediaActionSound.play(int)static voidreset()
- 
Constructor Details- 
ShadowMediaActionSoundpublic ShadowMediaActionSound()
 
- 
- 
Method Details- 
getPlayCountpublic static int getPlayCount(int soundName)Get the number of times a sound has been played.
- 
reset
- 
playInstrumented call toMediaActionSound.play(int)
 
-