public static enum VidSourceBase.ResultType extends java.lang.Enum<VidSourceBase.ResultType>
Enum Constant and Description |
---|
Multiple
每种清晰度和格式返回所有转码完成的流。
|
Single
每种清晰度和格式只返回一路最新转码完成的流。(默认)
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getResultType()
获取数据类型
|
static VidSourceBase.ResultType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VidSourceBase.ResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VidSourceBase.ResultType Single
public static final VidSourceBase.ResultType Multiple
public static VidSourceBase.ResultType[] values()
for (VidSourceBase.ResultType c : VidSourceBase.ResultType.values()) System.out.println(c);
public static VidSourceBase.ResultType 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 java.lang.String getResultType()