setVideoEffectBoolParam

Sets a boolean parameter for a video effect.

Future<void> setVideoEffectBoolParam(
      {required String option, required String key, required bool param});
Since
Available since v4.6.2.

Parameters

option
The category of the parameter option.
key
The key name of the parameter.
param
The boolean value to set:
  • true: Enables the option.
  • false: Disables the option.

Return Values

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