ZegoDataRecordEventHandler Protocol Reference

Conforms to NSObject
Declared in ZegoExpressEventHandler.h

– onCapturedDataRecordStateUpdate:errorCode:config:channel:

File recording status.

- (void)onCapturedDataRecordStateUpdate:(ZegoDataRecordState)state errorCode:(int)errorCode config:(ZegoDataRecordConfig *)config channel:(ZegoPublishChannel)channel

Parameters

state

File recording status.

errorCode

Error code, please refer to the error codes document https://docs.zegocloud.com/en/5548.html for details.

config

Record config.

channel

Publishing stream channel.

Declared In

ZegoExpressEventHandler.h

– onCapturedDataRecordProgressUpdate:config:channel:

File recording progress, which allows developers to hint at the UI, etc.

- (void)onCapturedDataRecordProgressUpdate:(ZegoDataRecordProgress *)progress config:(ZegoDataRecordConfig *)config channel:(ZegoPublishChannel)channel

Parameters

progress

File recording progress, which allows developers to hint at the UI, etc.

config

Record config.

channel

Publishing stream channel.

Declared In

ZegoExpressEventHandler.h