addOrUpdateVideoEffect abstract method

Future<void> addOrUpdateVideoEffect({
  1. required int nodeId,
  2. required String templateName,
})

Adds or updates the effect for the specified video effect node and template.

Since Available since v6.6.2. Priority rules: Style makeup nodes take precedence over filter effect nodes. To apply filter effects, you must first remove the style makeup effect node.

  • nodeId The unique identifier or combination of identifiers for the video effect node. See VideoEffectNodeId.
  • templateName Name of the effect template. If set to NULL or an empty string, the SDK loads the default configuration from the resource package.

Returns 0: Method call succeeds. < 0: Method call fails.

Implementation

Future<void> addOrUpdateVideoEffect(
    {required int nodeId, required String templateName});