onTestSpeakerVolume property

(void Function(int volume)?) onTestSpeakerVolume
final

Volume During Speaker Test

When you call startSpeakerDeviceTest to test the speaker, the SDK will keep returning this callback.

The volume parameter in the callback represents the volume of audio sent by the SDK to the speaker for playback. If its value fluctuates but users cannot hear any sound, the speaker is not working properly.

  • Parameters:
    • volume(int):
      • The volume of audio sent by the SDK to the speaker for playback. Value range: 0-100.

Implementation

final void Function(int volume)? onTestSpeakerVolume;