Added in API level 1

OutputFormat


class OutputFormat
kotlin.Any
   ↳ android.media.MediaRecorder.OutputFormat

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

Summary

Constants
static Int

AAC ADTS file format

static Int

AMR NB file format

static Int

AMR WB file format

static Int

static Int

H.

static Int

MPEG4 media file format

static Int

Opus data in a Ogg container

static Int

AMR NB file format

static Int

3GPP media file format

static Int

VP8/VORBIS data in a WEBM container

Constants

AAC_ADTS

Added in API level 16
static val AAC_ADTS: Int

AAC ADTS file format

Value: 6

AMR_NB

Added in API level 10
static val AMR_NB: Int

AMR NB file format

Value: 3

AMR_WB

Added in API level 10
static val AMR_WB: Int

AMR WB file format

Value: 4

DEFAULT

Added in API level 1
static val DEFAULT: Int
Value: 0

MPEG_2_TS

Added in API level 26
static val MPEG_2_TS: Int

H.264/AAC data encapsulated in MPEG2/TS

Value: 8

MPEG_4

Added in API level 1
static val MPEG_4: Int

MPEG4 media file format

Value: 2

OGG

Added in API level 29
static val OGG: Int

Opus data in a Ogg container

Value: 11

RAW_AMR

Added in API level 3
Deprecated in API level 16
static val RAW_AMR: Int

Deprecated: Deprecated in favor of MediaRecorder.OutputFormat.AMR_NB

AMR NB file format

Value: 3

THREE_GPP

Added in API level 1
static val THREE_GPP: Int

3GPP media file format

Value: 1

WEBM

Added in API level 21
static val WEBM: Int

VP8/VORBIS data in a WEBM container

Value: 9