enableVideoEffect abstract method
Enables video effects including beauty and color filters.
Return value:
- 0: Success.
- –1000: The Effects SDK is not integrated.
- –1001: This API is unavailable for your Effects SDK.
- –1002: Your Effects SDK's version is incompatible.
- < 0: Other error. See error code table for specific instructions.
Notes:
- You must call initCVResource before calling this API.
- This API does not turn on video effects directly, you must call setEffectNodes or setColorFilter next.
- Call disableVideoEffect to turn off video effects.
Implementation
Future<int?> enableVideoEffect();