public final class

MediaRecorder.AudioEncoder

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

Class Overview

Defines the audio encoding. These constants are used with setAudioEncoder(int).

Summary

Constants
int AAC AAC audio codec
int AMR_NB AMR (Narrowband) audio codec
int AMR_WB AMR (Wideband) audio codec
int DEFAULT
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int AAC

Since: API Level 10

AAC audio codec

Constant Value: 3 (0x00000003)

public static final int AMR_NB

Since: API Level 1

AMR (Narrowband) audio codec

Constant Value: 1 (0x00000001)

public static final int AMR_WB

Since: API Level 10

AMR (Wideband) audio codec

Constant Value: 2 (0x00000002)

public static final int DEFAULT

Since: API Level 1

Constant Value: 0 (0x00000000)