MicrophoneDeviceInfo

constructor(label: String, deviceId: String)

Parameters

label

the name to show in a picker. Today it is the same string as DeviceInfo.deviceId.

deviceId

one of EARPIECE, SPEAKER_PHONE, WIRED_HEADSET or BLUETOOTH. An instance you built yourself with any other id is accepted but changes no routing.