com.flazr.io.flv
Enum AudioTag.SampleRate
java.lang.Object
java.lang.Enum<AudioTag.SampleRate>
com.flazr.io.flv.AudioTag.SampleRate
- All Implemented Interfaces:
- ValueToEnum.IntValue, Serializable, Comparable<AudioTag.SampleRate>
- Enclosing class:
- AudioTag
public static enum AudioTag.SampleRate
- extends Enum<AudioTag.SampleRate>
- implements ValueToEnum.IntValue
KHZ_5
public static final AudioTag.SampleRate KHZ_5
KHZ_11
public static final AudioTag.SampleRate KHZ_11
KHZ_22
public static final AudioTag.SampleRate KHZ_22
KHZ_44
public static final AudioTag.SampleRate KHZ_44
values
public static AudioTag.SampleRate[] 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 (AudioTag.SampleRate c : AudioTag.SampleRate.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AudioTag.SampleRate valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
intValue
public int intValue()
- Specified by:
intValue in interface ValueToEnum.IntValue
valueToEnum
public static AudioTag.SampleRate valueToEnum(int value)
Copyright © 2011. All Rights Reserved.