setInputDevice

abstract fun setInputDevice(@Nullable device: @Nullable InputDevice)

Sets an input device. This method also registers and unregisters (when replaced or removed) the device in event bus.

Parameters

device

The audio output device, or null to remove a current device from the manager.