org.red5.server.api.stream
public enum StreamState extends Enum<StreamState>
Enum Constant and Description |
---|
CLOSED |
END |
INIT |
OPEN |
PAUSED |
PLAYING |
RESUMED |
SEEK |
STARTED |
STOPPED |
UNINIT |
Modifier and Type | Method and Description |
---|---|
static StreamState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StreamState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamState INIT
public static final StreamState UNINIT
public static final StreamState OPEN
public static final StreamState CLOSED
public static final StreamState STARTED
public static final StreamState STOPPED
public static final StreamState PLAYING
public static final StreamState PAUSED
public static final StreamState RESUMED
public static final StreamState END
public static final StreamState SEEK
public static StreamState[] values()
for (StreamState c : StreamState.values()) System.out.println(c);
public static StreamState 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 © 2006-2012 The Red5 Project