onCapturedDataRecordProgressUpdate property

(void Function(ZegoDataRecordProgress progress, ZegoDataRecordConfig config, ZegoPublishChannel channel)?) onCapturedDataRecordProgressUpdate
getter/setter pair

The callback to report the current recording progress.

Available since: 1.10.0 Description: Recording progress update callback, triggered at regular intervals during recording. Use cases: Developers can do UI hints for the user interface. When to trigger: After startRecordingCapturedData is called, If configured to require a callback, timed trigger during recording. Restrictions: None.

  • progress File recording progress, which allows developers to hint at the UI, etc.
  • config Record config.
  • channel Publishing stream channel.

Implementation

static void Function(
    ZegoDataRecordProgress progress,
    ZegoDataRecordConfig config,
    ZegoPublishChannel channel)? onCapturedDataRecordProgressUpdate;