AI Effects
On this page

Protocol

ZegoEffectsEventHandler

ZegoEffectsEventHandler

Callback function

Details

Containing AI Effect callback functions.

Declared in ZegoEffectsEventHandler.h

Methods

effects:errcode:desc:

effects:errcode:desc:
- (void)effects:(ZegoEffects) effects errorCode:(int) errorCode desc:(NSString *) desc;
The callback for obtaining error information.
Declared in ZegoEffectsEventHandler.h

Parameters

NameTypeDescription
effectsZegoEffects[in/out] The handle of the instance.
errorCodeintEngine error code.
descNSString *Engine error code description.

Details

When the SDK functions are not used correctly, the callback prompts for detailed error information.

facedetectionresults:effects:

facedetectionresults:effects:
- (void)facedetectionresults:(ZegoEffects) effects results:(NSArray<ZegoEffectsFaceDetectionResult *> *) results;
Face detection callback.
Declared in ZegoEffectsEventHandler.h

Parameters

NameTypeDescription
effectsZegoEffects[in/out] The handle of the instance.
resultsNSArray<ZegoEffectsFaceDetectionResult *> *Face result.

Details

The developer can start face detection through [EnableFacedetection], and the SDK will return the detected face data through this callback.

Previous

Class

Next

Enum

On this page

Back to top