setAudioRecordDataCallback
fun setAudioRecordDataCallback(callback: (audioFormat: Int, channelCount: Int, sampleRate: Int, sampleData: ByteBuffer) -> Unit)
Set to get callbacks when audio input from microphone is received. This can be example used to detect whether a person is speaking while muted.