setupMediaLoaderConfig static method
- @Deprecated('Use setStoragePaths() instead, which automatically configures the media loader')
- String? localCacheDir
Setup media loader config.
设置播放器预加载配置
localCacheDir
本地缓存目录,如果为null则使用默认路径
@deprecated 此方法已废弃,请使用 setStoragePaths 方法,它会自动配置媒体加载器
Implementation
@Deprecated(
'Use setStoragePaths() instead, which automatically configures the media loader')
static void setupMediaLoaderConfig([String? localCacheDir]) {
_setupMediaLoaderConfig(localCacheDir);
}