disableAudioInput

open fun disableAudioInput(): Boolean

Disables the input microphone for the device. Useful method for implementing a mute button in your app.The last audio device enabled will be disabled.

Return

Returns true if operation successful, returns false otherwise.

open fun disableAudioInput(deviceName: String): Boolean

Disables the input microphone for the specfied device. Useful method for implementing a mute button in your app.

Return

Returns true if operation successful, returns false otherwise.

Parameters

deviceName

The name of the device to disable