Language

EncoderProfiles.AudioProfile.Codec Property

Definition

The audio encoder being used for the audio track.

public int Codec { [Android.Runtime.Register("getCodec", "()I", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getCodec", "()I", "", ApiSince=31)>]
member this.Codec : int

Property Value

Value is one of the following: MediaRecorder.AudioEncoder.DEFAULT MediaRecorder.AudioEncoder.AMR_NB MediaRecorder.AudioEncoder.AMR_WB MediaRecorder.AudioEncoder.AAC MediaRecorder.AudioEncoder.HE_AAC MediaRecorder.AudioEncoder.AAC_ELD MediaRecorder.AudioEncoder.VORBIS MediaRecorder.AudioEncoder.OPUS

Attributes

Remarks

The audio encoder being used for the audio track.

Java documentation for android.media.EncoderProfiles.AudioProfile.getCodec().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to