analyze
Launches a list of cleaners to analyze trash items.
Parameters
cleaners
List of cleaners for analysis
isFullRefresh
True - analysis will be restarted. False - the cache of found non-deleted items will be used
Example:
// Get the launcher through the cleaner manager
val launcher = CleanerManagerFactory.cleanerManager.launcher
// List of cleaners for the launcher
val cleanerList: List<Cleaner>
// Start the analysis process with the following call
launcher.analyze(
cleaners = cleanerList,
isFullRefresh = true
)Content copied to clipboard
Throws
In case the method is used not in the library scope
If the library has the status CleanerManager.isPreparedToWork is false