Added in API level 18

OutputFormat


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

Defines the output format. These constants are used with constructor.

Summary

Constants
static Int

3GPP media file format

static Int

HEIF media file format

static Int

MPEG4 media file format

static Int

Ogg media file format

static Int

WEBM media file format

Constants

MUXER_OUTPUT_3GPP

Added in API level 26
static val MUXER_OUTPUT_3GPP: Int

3GPP media file format

Value: 2

MUXER_OUTPUT_HEIF

Added in API level 28
static val MUXER_OUTPUT_HEIF: Int

HEIF media file format

Value: 3

MUXER_OUTPUT_MPEG_4

Added in API level 18
static val MUXER_OUTPUT_MPEG_4: Int

MPEG4 media file format

Value: 0

MUXER_OUTPUT_OGG

Added in API level 29
static val MUXER_OUTPUT_OGG: Int

Ogg media file format

Value: 4

MUXER_OUTPUT_WEBM

Added in API level 21
static val MUXER_OUTPUT_WEBM: Int

WEBM media file format

Value: 1