public enum DirectCdnStreamingReason extends java.lang.Enum<DirectCdnStreamingReason>
Enum Constant and Description |
---|
AUDIO_PUBLICATION
audio.
|
BAD_NAME
Generally, Already exist stream name.
|
FAILED
error.
|
NET_CONNECT
net connect.
|
OK
success.
|
VIDEO_PUBLICATION
video.
|
Modifier and Type | Method and Description |
---|---|
static DirectCdnStreamingReason |
fromInt(int v) |
int |
getValue() |
static DirectCdnStreamingReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DirectCdnStreamingReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DirectCdnStreamingReason OK
public static final DirectCdnStreamingReason FAILED
public static final DirectCdnStreamingReason AUDIO_PUBLICATION
public static final DirectCdnStreamingReason VIDEO_PUBLICATION
public static final DirectCdnStreamingReason NET_CONNECT
public static final DirectCdnStreamingReason BAD_NAME
public static DirectCdnStreamingReason[] values()
for (DirectCdnStreamingReason c : DirectCdnStreamingReason.values()) System.out.println(c);
public static DirectCdnStreamingReason 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 nullpublic int getValue()
public static DirectCdnStreamingReason fromInt(int v)