AudioMetadata.Format
public
static
class
AudioMetadata.Format
extends Object
java.lang.Object | |
↳ | android.media.AudioMetadata.Format |
A container class for AudioMetadata Format keys.
See also:
Summary
Fields | |
---|---|
public
static
final
Key<Boolean> |
KEY_ATMOS_PRESENT
A key representing the presence of Atmos in an E-AC3 stream. |
public
static
final
Key<Integer> |
KEY_AUDIO_ENCODING
A key representing the audio encoding used for the stream. |
public
static
final
Key<Integer> |
KEY_BIT_RATE
A key representing the bitrate of the encoded stream used in If the stream is variable bitrate, this is the average bitrate of the stream. |
public
static
final
Key<Integer> |
KEY_BIT_WIDTH
A key representing the bit width of an element of decoded data. |
public
static
final
Key<Integer> |
KEY_CHANNEL_MASK
A key representing the audio channel mask of the stream. |
public
static
final
Key<String> |
KEY_MIME
A key representing the codec mime string. |
public
static
final
Key<Integer> |
KEY_PRESENTATION_CONTENT_CLASSIFIER
A key representing the audio presentation content classifier being rendered by a next generation audio decoder. |
public
static
final
Key<Integer> |
KEY_PRESENTATION_ID
A key representing the audio presentation id being decoded by a next generation audio decoder. |
public
static
final
Key<String> |
KEY_PRESENTATION_LANGUAGE
A key representing the audio presentation language being rendered by a next generation audio decoder. |
public
static
final
Key<Integer> |
KEY_PROGRAM_ID
A key representing the audio program id being decoded by a next generation audio decoder. |
public
static
final
Key<Integer> |
KEY_SAMPLE_RATE
A key representing the audio sample rate in Hz of the stream. |
Inherited methods | |
---|---|
Fields
KEY_ATMOS_PRESENT
public static final Key<Boolean> KEY_ATMOS_PRESENT
A key representing the presence of Atmos in an E-AC3 stream. A Boolean value which is true if Atmos is present in an E-AC3 stream.
KEY_AUDIO_ENCODING
public static final Key<Integer> KEY_AUDIO_ENCODING
A key representing the audio encoding used for the stream.
This is the same encoding used in AudioFormat#getEncoding()
.
An Integer value.
See also:
KEY_BIT_RATE
public static final Key<Integer> KEY_BIT_RATE
A key representing the bitrate of the encoded stream used in If the stream is variable bitrate, this is the average bitrate of the stream. The unit is bits per second. An Integer value.
See also:
KEY_BIT_WIDTH
public static final Key<Integer> KEY_BIT_WIDTH
A key representing the bit width of an element of decoded data. An Integer value.
KEY_CHANNEL_MASK
public static final Key<Integer> KEY_CHANNEL_MASK
A key representing the audio channel mask of the stream. An Integer value.
KEY_MIME
public static final Key<String> KEY_MIME
A key representing the codec mime string. A String value.
See also:
KEY_PRESENTATION_CONTENT_CLASSIFIER
public static final Key<Integer> KEY_PRESENTATION_CONTENT_CLASSIFIER
A key representing the audio presentation content classifier being rendered by a next generation audio decoder. An Integer value representing presentation content classifier.
See also:
AudioPresentation.CONTENT_UNKNOWN
AudioPresentation.CONTENT_MAIN
AudioPresentation.CONTENT_MUSIC_AND_EFFECTS
AudioPresentation.CONTENT_VISUALLY_IMPAIRED
AudioPresentation.CONTENT_HEARING_IMPAIRED
AudioPresentation.CONTENT_DIALOG
AudioPresentation.CONTENT_COMMENTARY
AudioPresentation.CONTENT_EMERGENCY
AudioPresentation.CONTENT_VOICEOVER
KEY_PRESENTATION_ID
public static final Key<Integer> KEY_PRESENTATION_ID
A key representing the audio presentation id being decoded by a next generation audio decoder. An Integer value representing presentation id.
See also:
KEY_PRESENTATION_LANGUAGE
public static final Key<String> KEY_PRESENTATION_LANGUAGE
A key representing the audio presentation language being rendered by a next generation audio decoder. A String value representing ISO 639-2 (three letter code).
See also:
KEY_PROGRAM_ID
public static final Key<Integer> KEY_PROGRAM_ID
A key representing the audio program id being decoded by a next generation audio decoder. An Integer value representing program id.
See also:
KEY_SAMPLE_RATE
public static final Key<Integer> KEY_SAMPLE_RATE
A key representing the audio sample rate in Hz of the stream. An Integer value.