setColorFilterIntensity abstract method

Future<int?> setColorFilterIntensity(
  1. double intensity
)

Sets the intensity of the color filter enabled.

intensity: Filter intensity. The value range [0,1] is set to be invalid when the range is exceeded.
Set the intensity to 0 to turn off color filter.

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?> setColorFilterIntensity(double intensity);