setInputsEnabled

fun setInputsEnabled(camera: Boolean? = null, microphone: Boolean? = null, listener: RequestListener? = null)

Enable or disable the camera and/or microphone.

The optional callback (listener) will be invoked either when the operation has completed, or if it encounters an error.

Errors will also be provided to the CallClientListener.onError callback.

For more advanced input settings, see updateInputs.