updateFilterConfig method

Future<void> updateFilterConfig(
  1. String target,
  2. Map options
)

更新滤镜配置

Implementation

Future<void> updateFilterConfig(String target, Map options) async {
  var map = {'target': target, 'options': options};
  // options格式: {"key":"<options_key>", "value": "<options_value>"}
  return FlutterAliPlayerFactory.methodChannel
      .invokeMethod("updateFilterConfig", wrapWithPlayerId(arg: map));
}