Package org.robolectric.shadows
Class ShadowToneGenerator.Tone
- java.lang.Object
-
- org.robolectric.shadows.ShadowToneGenerator.Tone
-
- Enclosing class:
- ShadowToneGenerator
public abstract static class ShadowToneGenerator.Tone extends Object
Stores data about a tone played by the ToneGenerator
-
-
Constructor Summary
Constructors Constructor Description Tone()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Duration
duration()
abstract int
type()
The type of the tone.
-
-
-
Method Detail
-
type
public abstract int type()
The type of the tone.- See Also:
for a list of possible tones
-
duration
public abstract Duration duration()
-
-