MicInputPreset
The system will use this information to optimize the behavior of the input stream.
This could, for example, affect which microphones are used and how the recorded data is processed.
NOTE: This attribute only has an effect on Android API 28+
Entries
Use this preset when doing speech recognition or you want raw audio.
Use this preset when doing telephony or voice messaging.
Use this preset to obtain an input with no effects. Note that this input will not have automatic gain control so the recorded volume may be very low.
Use this preset for capturing audio meant to be processed in real time and played back for live performance (e.g karaoke). The capture path will minimize latency and coupling with playback path.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.