Package com.alivc.live.pusher
Enum AlivcAudioAACProfileEnum
- java.lang.Object
-
- java.lang.Enum<AlivcAudioAACProfileEnum>
-
- com.alivc.live.pusher.AlivcAudioAACProfileEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AlivcAudioAACProfileEnum>
public enum AlivcAudioAACProfileEnum extends java.lang.Enum<AlivcAudioAACProfileEnum>
音频编码
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAudioProfile()
static AlivcAudioAACProfileEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AlivcAudioAACProfileEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AAC_LC
public static final AlivcAudioAACProfileEnum AAC_LC
-
HE_AAC
public static final AlivcAudioAACProfileEnum HE_AAC
-
HE_AAC_v2
public static final AlivcAudioAACProfileEnum HE_AAC_v2
-
AAC_LD
public static final AlivcAudioAACProfileEnum AAC_LD
-
-
Method Detail
-
values
public static AlivcAudioAACProfileEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AlivcAudioAACProfileEnum c : AlivcAudioAACProfileEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AlivcAudioAACProfileEnum valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getAudioProfile
public int getAudioProfile()
-
-