rtcEngine$onAudioPlaybackDeviceTestVolume method

FutureOr<void> rtcEngine$onAudioPlaybackDeviceTestVolume(
  1. ByteRTCEngine engine,
  2. int volume
)

@hidden(iOS) @detail callback @author dixing @region Audio Device Management @brief Notification on the playing volume during the test for the local audio devices. @param engine ByteRTCEngine object @param volume Playing volume during the test for the local audio devices. The range is 0,255. @note Start an audio-device test by calling startAudioPlaybackDeviceTest:interval:{@link #ByteRTCAudioDeviceManager#startAudioPlaybackDeviceTest:interval} or startAudioDeviceRecordTest:{@link #ByteRTCAudioDeviceManager#startAudioDeviceRecordTest} will register this callback for regular notification on playing volume. You can set the time interval between each callback by passing a proper value when calling the API above.

Implementation

FutureOr<void> rtcEngine$onAudioPlaybackDeviceTestVolume(
    ByteRTCEngine engine, int volume) async {}