setVideoEffectColorFilter abstract method

  1. @Deprecated('Deprecated since v3.50.1 and will be deleted in v3.56.1, use RTCVideoEffect.setColorFilter instead.')
Future<int?> setVideoEffectColorFilter(
  1. String? resFile
)

Sets color filter.

resFile: Absolute path of the color filter resource package.

Returned value:

  • 0: Success.
  • 1000: The Effect SDK is not integrated.
  • 1001: This API is not available in your Effect SDK.
  • <0: Other errors. See Error Code Table.

Implementation

@Deprecated(
    'Deprecated since v3.50.1 and will be deleted in v3.56.1, use RTCVideoEffect.setColorFilter instead.')
Future<int?> setVideoEffectColorFilter(String? resFile);