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 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 AMR NB file format
int THREE_GPP 3GPP media file format
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int AMR_NB

Since: API Level 10

AMR NB file format

Constant Value: 3 (0x00000003)

public static final int AMR_WB

Since: API Level 10

AMR WB file format

Constant Value: 4 (0x00000004)

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

AMR NB file format

Constant Value: 3 (0x00000003)

public static final int THREE_GPP

Since: API Level 1

3GPP media file format

Constant Value: 1 (0x00000001)