Enum AudioTrackType
- java.lang.Object
-
- java.lang.Enum<AudioTrackType>
-
- org.schabi.newpipe.extractor.stream.AudioTrackType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AudioTrackType>
public enum AudioTrackType extends java.lang.Enum<AudioTrackType>
An enum representing the track type of anAudioStream
extracted by aStreamExtractor
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DESCRIPTIVE
A descriptive audio track.DUBBED
An audio track with the original voices replaced, typically in a different language.ORIGINAL
An original audio track of the video.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AudioTrackType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AudioTrackType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ORIGINAL
public static final AudioTrackType ORIGINAL
An original audio track of the video.
-
DUBBED
public static final AudioTrackType DUBBED
An audio track with the original voices replaced, typically in a different language.- See Also:
- https://en.wikipedia.org/wiki/Dubbing
-
DESCRIPTIVE
public static final AudioTrackType DESCRIPTIVE
A descriptive audio track.A descriptive audio track is an audio track in which descriptions of visual elements of a video are added to the original audio, with the goal to make a video more accessible to blind and visually impaired people.
-
-
Method Detail
-
values
public static AudioTrackType[] 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 (AudioTrackType c : AudioTrackType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AudioTrackType 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
-
-