FileDocCategorySizeDatePackage
MediaFormat.javaAPI DocAndroid 5.1 API6506Sat Mar 14 14:09:40 GMT 2015android.media

MediaFormat

public final class MediaFormat extends Object

Fields Summary
public static final String
KEY_AAC_DRC_ATTENUATION_FACTOR
public static final String
KEY_AAC_DRC_BOOST_FACTOR
public static final String
KEY_AAC_DRC_HEAVY_COMPRESSION
public static final String
KEY_AAC_DRC_TARGET_REFERENCE_LEVEL
public static final String
KEY_AAC_ENCODED_TARGET_LEVEL
public static final String
KEY_AAC_MAX_OUTPUT_CHANNEL_COUNT
public static final String
KEY_AAC_PROFILE
public static final String
KEY_AAC_SBR_MODE
public static final String
KEY_AUDIO_SESSION_ID
public static final String
KEY_BITRATE_MODE
public static final String
KEY_BIT_RATE
public static final String
KEY_CAPTURE_RATE
public static final String
KEY_CHANNEL_COUNT
public static final String
KEY_CHANNEL_MASK
public static final String
KEY_COLOR_FORMAT
public static final String
KEY_COMPLEXITY
public static final String
KEY_DURATION
public static final String
KEY_FLAC_COMPRESSION_LEVEL
public static final String
KEY_FRAME_RATE
public static final String
KEY_HEIGHT
public static final String
KEY_IS_ADTS
public static final String
KEY_IS_AUTOSELECT
public static final String
KEY_IS_DEFAULT
public static final String
KEY_IS_FORCED_SUBTITLE
public static final String
KEY_I_FRAME_INTERVAL
public static final String
KEY_LANGUAGE
public static final String
KEY_MAX_HEIGHT
public static final String
KEY_MAX_INPUT_SIZE
public static final String
KEY_MAX_WIDTH
public static final String
KEY_MIME
public static final String
KEY_PROFILE
public static final String
KEY_PUSH_BLANK_BUFFERS_ON_STOP
public static final String
KEY_REPEAT_PREVIOUS_FRAME_AFTER
public static final String
KEY_SAMPLE_RATE
public static final String
KEY_TEMPORAL_LAYERING
public static final String
KEY_WIDTH
public static final String
MIMETYPE_AUDIO_AAC
public static final String
MIMETYPE_AUDIO_AC3
public static final String
MIMETYPE_AUDIO_AMR_NB
public static final String
MIMETYPE_AUDIO_AMR_WB
public static final String
MIMETYPE_AUDIO_FLAC
public static final String
MIMETYPE_AUDIO_G711_ALAW
public static final String
MIMETYPE_AUDIO_G711_MLAW
public static final String
MIMETYPE_AUDIO_MPEG
public static final String
MIMETYPE_AUDIO_MSGSM
public static final String
MIMETYPE_AUDIO_OPUS
public static final String
MIMETYPE_AUDIO_QCELP
public static final String
MIMETYPE_AUDIO_RAW
public static final String
MIMETYPE_AUDIO_VORBIS
public static final String
MIMETYPE_TEXT_CEA_608
public static final String
MIMETYPE_TEXT_VTT
public static final String
MIMETYPE_VIDEO_AVC
public static final String
MIMETYPE_VIDEO_H263
public static final String
MIMETYPE_VIDEO_HEVC
public static final String
MIMETYPE_VIDEO_MPEG2
public static final String
MIMETYPE_VIDEO_MPEG4
public static final String
MIMETYPE_VIDEO_RAW
public static final String
MIMETYPE_VIDEO_VP8
public static final String
MIMETYPE_VIDEO_VP9
Constructors Summary
public MediaFormat()

 throw new RuntimeException("Stub!"); 
Methods Summary
public final booleancontainsKey(java.lang.String name)

 throw new RuntimeException("Stub!"); 
public static final android.media.MediaFormatcreateAudioFormat(java.lang.String mime, int sampleRate, int channelCount)

 throw new RuntimeException("Stub!"); 
public static final android.media.MediaFormatcreateSubtitleFormat(java.lang.String mime, java.lang.String language)

 throw new RuntimeException("Stub!"); 
public static final android.media.MediaFormatcreateVideoFormat(java.lang.String mime, int width, int height)

 throw new RuntimeException("Stub!"); 
public final java.nio.ByteBuffergetByteBuffer(java.lang.String name)

 throw new RuntimeException("Stub!"); 
public booleangetFeatureEnabled(java.lang.String feature)

 throw new RuntimeException("Stub!"); 
public final floatgetFloat(java.lang.String name)

 throw new RuntimeException("Stub!"); 
public final intgetInteger(java.lang.String name)

 throw new RuntimeException("Stub!"); 
public final longgetLong(java.lang.String name)

 throw new RuntimeException("Stub!"); 
public final java.lang.StringgetString(java.lang.String name)

 throw new RuntimeException("Stub!"); 
public final voidsetByteBuffer(java.lang.String name, java.nio.ByteBuffer bytes)

 throw new RuntimeException("Stub!"); 
public voidsetFeatureEnabled(java.lang.String feature, boolean enabled)

 throw new RuntimeException("Stub!"); 
public final voidsetFloat(java.lang.String name, float value)

 throw new RuntimeException("Stub!"); 
public final voidsetInteger(java.lang.String name, int value)

 throw new RuntimeException("Stub!"); 
public final voidsetLong(java.lang.String name, long value)

 throw new RuntimeException("Stub!"); 
public final voidsetString(java.lang.String name, java.lang.String value)

 throw new RuntimeException("Stub!"); 
public java.lang.StringtoString()

 throw new RuntimeException("Stub!");