public static enum Stream.State extends java.lang.Enum<Stream.State>
| Enum Constant and Description |
|---|
CREATE_FAILED
Status indicating creation failed for a
TxStream. |
CREATED
Status indicating ready to use for a
RxStream. |
DESTROYED
Status indicating stream can no longer be used.
|
STARTED
|
STARTING
|
STOPPED
Status indicating stream stopped/closed for a
RxStream. |
| Modifier and Type | Method and Description |
|---|---|
static Stream.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Stream.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Stream.State CREATED
RxStream.public static final Stream.State CREATE_FAILED
TxStream.public static final Stream.State STARTING
public static final Stream.State STARTED
public static final Stream.State STOPPED
RxStream.
This cloud mean that stream can be reopened and reused.public static final Stream.State DESTROYED
public static Stream.State[] values()
for (Stream.State c : Stream.State.values()) System.out.println(c);
public static Stream.State 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