updateEffectNode method
@detail api
@author zhushufan.ref
@brief Sets the intensity of video effects.
@param node The absolute path of the effects resource package, see Resource Package Structure.
@param key The name of the material key to be set, see Functions of Resource Keys for the value.
@param 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
- 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
FutureOr<int> updateEffectNode(
NSString node, NSString key, float value) async {
return await nativeCall('updateEffectNode:key:value:', [node, key, value]);
}