Android.Media.MediaFormat Members

The members of Android.Media.MediaFormat are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Creates an empty MediaFormat

Public Fields

const
KeyAacDrcAttenuationFactorstring. A key describing the attenuation factor allowing to adapt the dynamics of the output to the actual listening requirements.
const
KeyAacDrcBoostFactorstring. A key describing the boost factor allowing to adapt the dynamics of the output to the actual listening requirements.
const
KeyAacDrcHeavyCompressionstring. A key describing the selection of the heavy compression profile for DRC.
const
KeyAacDrcTargetReferenceLevelstring. A key describing a gain to be applied so that the output loudness matches the Target Reference Level.
const
KeyAacEncodedTargetLevelstring. A key describing the target reference level that was assumed at the encoder for calculation of attenuation gains for clipping prevention.
const
KeyAacMaxOutputChannelCountstring. A key describing the maximum number of channels that can be output by the AAC decoder.
const
KeyAacProfilestring. A key describing the AAC profile to be used (AAC audio formats only).
const
KeyAacSbrModestring. A key describing the AAC SBR mode to be used (AAC audio formats only).
const
KeyAudioSessionIdstring. A key describing the audio session ID of the AudioTrack associated to a tunneled video codec.
const
KeyBitRatestring. A key describing the bitrate in bits/sec.
const
KeyBitrateModestring. A key describing the desired bitrate mode to be used by an encoder.
const
KeyCaptureRatestring. A key describing the capture rate of a video format in frames/sec.
const
KeyChannelCountstring. A key describing the number of channels in an audio format.
const
KeyChannelMaskstring. A key describing the channel composition of audio content.
const
KeyColorFormatstring. A key describing the color format of the content in a video format.
const
KeyComplexitystring. A key describing the encoding complexity.
const
KeyDurationstring. A key describing the duration (in microseconds) of the content.
const
KeyFlacCompressionLevelstring. A key describing the FLAC compression level to be used (FLAC audio format only).
const
KeyFrameRatestring. A key describing the frame rate of a video format in frames/sec.
const
KeyHeightstring. A key describing the height of the content in a video format.
const
KeyIFrameIntervalstring. A key describing the frequency of I frames expressed in secs between I frames.
const
KeyIsAdtsstring. A key mapping to a value of 1 if the content is AAC audio and audio frames are prefixed with an ADTS header.
const
KeyIsAutoselectstring. A key for boolean AUTOSELECT behavior for the track.
const
KeyIsDefaultstring. A key for boolean DEFAULT behavior for the track.
const
KeyIsForcedSubtitlestring. A key for the FORCED field for subtitle tracks.
const
KeyLanguagestring. A key describing the language of the content, using either ISO 639-1 or 639-2/T codes.
const
KeyMaxHeightstring. A key describing the maximum expected height of the content in a video decoder format, in case there are resolution changes in the video content.
const
KeyMaxInputSizestring. A key describing the maximum size in bytes of a buffer of data described by this MediaFormat.
const
KeyMaxWidthstring. A key describing the maximum expected width of the content in a video decoder format, in case there are resolution changes in the video content.
const
KeyMimestring. A key describing the mime type of the MediaFormat.
const
KeyProfilestring. A key describing the desired profile to be used by an encoder.
const
KeyPushBlankBuffersOnStopstring. If specified when configuring a video decoder rendering to a surface, causes the decoder to output "blank", i.e. black frames to the surface when stopped to clear out any previously displayed contents.
const
KeyRepeatPreviousFrameAfterstring. Applies only when configuring a video encoder in "surface-input" mode.
const
KeySampleRatestring. A key describing the sample rate of an audio format.
const
KeyTemporalLayeringstring. A key describing the temporal layering schema.
const
KeyWidthstring. A key describing the width of the content in a video format.
const
MimetypeAudioAacstring.
const
MimetypeAudioAc3string.
const
MimetypeAudioAmrNbstring.
const
MimetypeAudioAmrWbstring.
const
MimetypeAudioFlacstring.
const
MimetypeAudioG711Alawstring.
const
MimetypeAudioG711Mlawstring.
const
MimetypeAudioMpegstring.
const
MimetypeAudioMsgsmstring.
const
MimetypeAudioOpusstring.
const
MimetypeAudioQcelpstring.
const
MimetypeAudioRawstring.
const
MimetypeAudioVorbisstring.
const
MimetypeTextCea608string. MIME type for CEA-608 closed caption data.
const
MimetypeTextVttstring. MIME type for WebVTT subtitle data.
const
MimetypeVideoAvcstring.
const
MimetypeVideoH263string.
const
MimetypeVideoHevcstring.
const
MimetypeVideoMpeg2string.
const
MimetypeVideoMpeg4string.
const
MimetypeVideoRawstring.
const
MimetypeVideoVp8string.
const
MimetypeVideoVp9string.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

ContainsKey(string) : bool
Returns true iff a key of the given name exists in the format.
static
CreateAudioFormat(string, int, int) : MediaFormat
Creates a minimal audio format.
static
CreateSubtitleFormat(string, string) : MediaFormat
Creates a minimal subtitle format.
static
CreateVideoFormat(string, int, int) : MediaFormat
Creates a minimal video format.
GetByteBuffer(string) : Java.Nio.ByteBuffer
Returns the value of a ByteBuffer key.
GetFeatureEnabled(string) : bool
Returns whether a feature is to be enabled (true) or disabled (false).
GetFloat(string) : float
Returns the value of a float key.
GetInteger(string) : int
Returns the value of an integer key.
GetLong(string) : long
Returns the value of a long key.
GetString(string) : string
Returns the value of a string key.
SetByteBuffer(string, Java.Nio.ByteBuffer)
Sets the value of a ByteBuffer key.
SetFeatureEnabled(string, bool)
Sets whether a feature is to be enabled (true) or disabled (false).
SetFloat(string, float)
Sets the value of a float key.
SetInteger(string, int)
Sets the value of an integer key.
SetLong(string, long)
Sets the value of a long key.
SetString(string, string)
Sets the value of a string key.