onTestMicVolume property
final
Volume During Mic Test
When you call startMicDeviceTest
to test the mic, the SDK will keep
returning this callback. The volume
parameter represents the volume of
the audio captured by the mic.
If the value of the volume
parameter fluctuates, the mic works properly.
If it is 0
throughout the test, it indicates that there is a problem
with the mic, and users should be prompted to switch to a different mic.
- Parameters:
- volume(int):
- Captured mic volume. Value range: 0-100.
- volume(int):
Implementation
final void Function(int volume)? onTestMicVolume;