setEffectNodes abstract method

Future<int?> setEffectNodes(
  1. List<String>? effectNodes
)

Sets the video effects material package.

effectNodes: Array of effect material package paths.
To remove the current video effect, set it to null.

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.

You must call enableVideoEffect before calling this API.

Implementation

Future<int?> setEffectNodes(List<String>? effectNodes);