startMicDeviceTestAndPlayback abstract method

int startMicDeviceTestAndPlayback(
  1. int interval,
  2. bool playback
)

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.

Implementation

int startMicDeviceTestAndPlayback(int interval, bool playback);