updateEffectNode abstract method
Sets the intensity of video effects.
effectNode
: The absolute path of the effects resource package, see Resource Package Structure.
key
: The name of the material key to be set, see Functions of Resource Keys for the value.
value
: The intensity value that needs to be set, the value range [0,1]
, and the setting is invalid when it exceeds the range.
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.
Implementation
Future<int?> updateEffectNode({
required String effectNode,
required String key,
required double value,
});