clearDirCache method Null safety
- List<
NIMDirCacheFileType> fileTypes, - int startTime,
- int endTime
(Only available for Android) Delete specified types of cache files, for example, picture thumbnails of picture messages and audio files of audio messages.
fileTypes
The file type list
startTime
The start time (unit: ms). The start time is not limited if the parameter is set to 0.
endTime
The end time (unitL ms). The end time is not limited if the parameter is set to 0.
Implementation
Future<NIMResult<void>> clearDirCache(
List<NIMDirCacheFileType> fileTypes, int startTime, int endTime) {
return _platform.clearDirCache(fileTypes, startTime, endTime);
}