startMicDeviceTestAndPlayback abstract method
Starting Mic Testing (for Desktop OS)
This API is used to test whether the mic functions properly. The mic volume detected (value range: 0-100) is returned via a callback.
- Parameters:
- interval(int):
- Interval of volume callbacks.
- playback(bool):
- Whether to play back the microphone sound.
- The user will hear his own sound when testing the microphone if
playback
is true.
- interval(int):
Implementation
int startMicDeviceTestAndPlayback(int interval, bool playback);