Added in API level 1
AudioEncoder
class AudioEncoder
| kotlin.Any | |
| ↳ | android.media.MediaRecorder.AudioEncoder |
Defines the audio encoding. These constants are used with MediaRecorder.setAudioEncoder(int).
Summary
| Constants | |
|---|---|
| static Int |
AAC Low Complexity (AAC-LC) audio codec |
| static Int |
Enhanced Low Delay AAC (AAC-ELD) audio codec |
| static Int |
AMR (Narrowband) audio codec |
| static Int |
AMR (Wideband) audio codec |
| static Int | |
| static Int |
High Efficiency AAC (HE-AAC) audio codec |
| static Int |
Opus audio codec |
| static Int |
Ogg Vorbis audio codec (Support is optional) |
Constants
AAC_ELD
Added in API level 16
static val AAC_ELD: Int
Enhanced Low Delay AAC (AAC-ELD) audio codec
Value: 5HE_AAC
Added in API level 16
static val HE_AAC: Int
High Efficiency AAC (HE-AAC) audio codec
Value: 4VORBIS
Added in API level 21
static val VORBIS: Int
Ogg Vorbis audio codec (Support is optional)
Value: 6