| Package | Description |
|---|---|
| org.robolectric.shadows |
Package containing shadow classes for the Android SDK.
|
| Modifier and Type | Method and Description |
|---|---|
ShadowMediaPlayer.State |
ShadowMediaPlayer.getState()
Retrieves the current state of the
MediaPlayer. |
static ShadowMediaPlayer.State |
ShadowMediaPlayer.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShadowMediaPlayer.State[] |
ShadowMediaPlayer.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ShadowMediaPlayer.setState(ShadowMediaPlayer.State state)
Forces the @link MediaPlayer} into the specified state.
|
Copyright © 2016. All rights reserved.