public enum AlivcVideoEncodeGopEnum extends java.lang.Enum<AlivcVideoEncodeGopEnum>
Enum Constant and Description |
---|
GOP_FIVE
Gop 为5秒
|
GOP_FOUR
Gop 为4秒
|
GOP_ONE
Gop 为1秒
|
GOP_THREE
Gop 为3秒
|
GOP_TWO
Gop 为2秒
|
Modifier and Type | Method and Description |
---|---|
int |
getGop()
获取枚举值
|
static AlivcVideoEncodeGopEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AlivcVideoEncodeGopEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlivcVideoEncodeGopEnum GOP_ONE
public static final AlivcVideoEncodeGopEnum GOP_TWO
public static final AlivcVideoEncodeGopEnum GOP_THREE
public static final AlivcVideoEncodeGopEnum GOP_FOUR
public static final AlivcVideoEncodeGopEnum GOP_FIVE
public static AlivcVideoEncodeGopEnum[] values()
for (AlivcVideoEncodeGopEnum c : AlivcVideoEncodeGopEnum.values()) System.out.println(c);
public static AlivcVideoEncodeGopEnum 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 getGop()