Voice Recorder Config
data class VoiceRecorderConfig @JvmOverloads constructor(val audioSource: Int = AudioSource.VOICE_RECOGNITION, val audioChannels: Int = 1, val samplingRate: Int = 11025, val bitRate: Int = 12000)
Describes a configuration of voice recorder.
Since
3.9.2
Constructors
Link copied to clipboard
fun VoiceRecorderConfig(audioSource: Int = AudioSource.VOICE_RECOGNITION, audioChannels: Int = 1, samplingRate: Int = 11025, bitRate: Int = 12000)
Properties
Link copied to clipboard
Returns the audio source to be used for recording. The default value is AudioSource.VOICE_RECOGNITION.