audioDevice

@RequiresApi(value = 23)
fun audioDevice(): String?

Get the current audio route which is in use. The deviceId will match the one of the deviceIds returned by availableDevices().

If this is called from the main thread (or from your custom thread if you created the CallClient with a custom Handler), then the value returned is consistent with the state of the CallClient as of the most recent callback.

This is supported on Android API 23 and above.