public enum PlayerActivity extends Enum<PlayerActivity>
Play directive; may
occur when the audio player has finished playing a stream| Enum Constant and Description |
|---|
BUFFER_UNDERRUN |
FINISHED |
IDLE |
PAUSED |
PLAYING |
STOPPED |
| Modifier and Type | Method and Description |
|---|---|
static PlayerActivity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlayerActivity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlayerActivity PLAYING
public static final PlayerActivity PAUSED
public static final PlayerActivity FINISHED
public static final PlayerActivity BUFFER_UNDERRUN
public static final PlayerActivity IDLE
public static final PlayerActivity STOPPED
public static PlayerActivity[] values()
for (PlayerActivity c : PlayerActivity.values()) System.out.println(c);
public static PlayerActivity valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016. All rights reserved.