public enum LiveStreamEventStatus extends Enum<LiveStreamEventStatus>
Java class for LiveStreamEventStatus.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="LiveStreamEventStatus">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="ACTIVE"/>
<enumeration value="ARCHIVED"/>
<enumeration value="PAUSED"/>
<enumeration value="ADS_PAUSED"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ACTIVE
Indicates the
LiveStreamEvent has been created and is eligible
for streaming. |
ADS_PAUSED
Indicates that the stream is still being served, but ad insertion should be paused
temporarily.
|
ARCHIVED
Indicates the
LiveStreamEvent has been archived. |
PAUSED
Indicates the
LiveStreamEvent has been paused. |
UNKNOWN
The value returned if the actual value is not exposed by the requested API
version.
|
| Modifier and Type | Method and Description |
|---|---|
static LiveStreamEventStatus |
fromValue(String v) |
String |
value() |
static LiveStreamEventStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LiveStreamEventStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LiveStreamEventStatus ACTIVE
LiveStreamEvent has been created and is eligible
for streaming.public static final LiveStreamEventStatus ARCHIVED
LiveStreamEvent has been archived.public static final LiveStreamEventStatus PAUSED
LiveStreamEvent has been paused. This
can be made ACTIVE at later time.public static final LiveStreamEventStatus ADS_PAUSED
public static final LiveStreamEventStatus UNKNOWN
public static LiveStreamEventStatus[] values()
for (LiveStreamEventStatus c : LiveStreamEventStatus.values()) System.out.println(c);
public static LiveStreamEventStatus 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 String value()
public static LiveStreamEventStatus fromValue(String v)
Copyright © 2018. All Rights Reserved.