public enum PlayerActivity extends Enum<PlayerActivity>
Enum Constant and Description |
---|
BUFFER_UNDERRUN |
FINISHED |
IDLE |
PAUSED |
PLAYING |
STOPPED |
UNKNOWN_TO_SDK_VERSION |
Modifier and Type | Method and Description |
---|---|
static PlayerActivity |
fromValue(String text) |
Object |
getValue() |
String |
toString() |
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 final PlayerActivity UNKNOWN_TO_SDK_VERSION
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 nullpublic Object getValue()
public String toString()
toString
in class Enum<PlayerActivity>
public static PlayerActivity fromValue(String text)
Copyright © 2023. All rights reserved.