switchAudioDevice

actual fun switchAudioDevice(deviceId: String?)
expect fun switchAudioDevice(deviceId: String?)

Routes audio output to the given device.

Parameters

deviceId

AudioDevice.id of the target device, or null to use the platform default.

actual fun switchAudioDevice(deviceId: String?)