| Package | Description |
|---|---|
| org.robolectric.shadows |
Package containing shadow classes for the Android SDK.
|
| Modifier and Type | Method and Description |
|---|---|
ShadowMediaPlayer.InvalidStateBehavior |
ShadowMediaPlayer.getInvalidStateBehavior()
Retrieves current flag specifying the behavior of the media player when a
method is invoked in an invalid state.
|
static ShadowMediaPlayer.InvalidStateBehavior |
ShadowMediaPlayer.InvalidStateBehavior.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShadowMediaPlayer.InvalidStateBehavior[] |
ShadowMediaPlayer.InvalidStateBehavior.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.setInvalidStateBehavior(ShadowMediaPlayer.InvalidStateBehavior invalidStateBehavior)
Specifies how the media player should behave when a method is invoked in an
invalid state.
|
Copyright © 2015. All rights reserved.