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 DEFAULT
int MPEG_4 MPEG4 media file format
int RAW_AMR TODO: change link when AMR_NB is exposed.
int THREE_GPP 3GPP media file format
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int DEFAULT

Since: API Level 1

Constant Value: 0 (0x00000000)

public static final int MPEG_4

Since: API Level 1

MPEG4 media file format

Constant Value: 2 (0x00000002)

public static final int RAW_AMR

Since: API Level 3

TODO: change link when AMR_NB is exposed. Deprecated in favor of MediaRecorder.OutputFormat.AMR_NB

Constant Value: 3 (0x00000003)

public static final int THREE_GPP

Since: API Level 1

3GPP media file format

Constant Value: 1 (0x00000001)