AVCaptureDeviceTypeMicrophone

Static AVCaptureDeviceTypeMicrophone 

Source
pub unsafe static AVCaptureDeviceTypeMicrophone: &'static AVCaptureDeviceType
Available on crate feature AVCaptureDevice only.
Expand description

A microphone. On iOS and tvOS, only one AVCaptureDevice of type AVCaptureDeviceTypeMicrophone is exposed to the system. The audio routing subsystem decides which physical microphone to use, be it a built in microphone, a wired headset, an external microphone, etc. The microphone device’s localizedName will change as the audio subsystem switches to a different physical device.

See also Apple’s documentation