public static enum ShadowMediaPlayer.InvalidStateBehavior extends java.lang.Enum<ShadowMediaPlayer.InvalidStateBehavior>
Possible behavior modes for the media player when a method is invoked in an invalid state.
Modifier and Type | Method and Description |
---|---|
static ShadowMediaPlayer.InvalidStateBehavior |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShadowMediaPlayer.InvalidStateBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShadowMediaPlayer.InvalidStateBehavior SILENT
public static final ShadowMediaPlayer.InvalidStateBehavior EMULATE
public static final ShadowMediaPlayer.InvalidStateBehavior ASSERT
public static ShadowMediaPlayer.InvalidStateBehavior[] values()
for (ShadowMediaPlayer.InvalidStateBehavior c : ShadowMediaPlayer.InvalidStateBehavior.values()) System.out.println(c);
public static ShadowMediaPlayer.InvalidStateBehavior valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null