setEffectNodes method
@detail api
@author zhushufan.ref
@brief Sets the video effects material package.
@param effectNodes Array of effect material package paths.
To remove the current video effect, set it to null.
@return
- 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.
@note You must call enableVideoEffect{@link #ByteRTCVideoEffect#enableVideoEffect} before calling this API.
Implementation
FutureOr<int> setEffectNodes(NSArray<NSString>? effectNodes) async {
return await nativeCall('setEffectNodes:', [effectNodes]);
}