setCacheConfig method

  1. @deprecated
Future<void> setCacheConfig(
  1. Map map
)

设置缓存配置

该方法已弃用,请使用本地缓存功能 enableLocalCache

Implementation

@deprecated
Future<void> setCacheConfig(Map map) async {
  return FlutterAliPlayerFactory.methodChannel
      .invokeMethod("setCacheConfig", wrapWithPlayerId(arg: map));
}