to top
Android APIs
public final class

MediaRecorder.OutputFormat

extends Object
java.lang.Object
   ↳ android.media.MediaRecorder.OutputFormat

Class Overview

Defines the output format. These constants are used with setOutputFormat(int).

Summary

Constants
int AAC_ADTS AAC ADTS file format
int AMR_NB AMR NB file format
int AMR_WB AMR WB file format
int DEFAULT
int MPEG_4 MPEG4 media file format
int RAW_AMR This constant was deprecated in API level 16. Deprecated in favor of MediaRecorder.OutputFormat.AMR_NB
int THREE_GPP 3GPP media file format
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int AAC_ADTS

Added in API level 16

AAC ADTS file format

Constant Value: 6 (0x00000006)

public static final int AMR_NB

Added in API level 10

AMR NB file format

Constant Value: 3 (0x00000003)

public static final int AMR_WB

Added in API level 10

AMR WB file format

Constant Value: 4 (0x00000004)

public static final int DEFAULT

Added in API level 1

Constant Value: 0 (0x00000000)

public static final int MPEG_4

Added in API level 1

MPEG4 media file format

Constant Value: 2 (0x00000002)

public static final int RAW_AMR

Added in API level 3

This constant was deprecated in API level 16.
Deprecated in favor of MediaRecorder.OutputFormat.AMR_NB

AMR NB file format

Constant Value: 3 (0x00000003)

public static final int THREE_GPP

Added in API level 1

3GPP media file format

Constant Value: 1 (0x00000001)
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.