analyze

abstract suspend fun analyze(isFullRefresh: Boolean)

This method is used to find junk files on the device.

Parameters

isFullRefresh

True - analysis will be restarted. False - the cache of found non-deleted items will be used

Example:

// Get the some cleaner through the cleaner manager
val cleaner = CleanerManagerFactory.cleanerManager.getCleaner(CleanerType.DOWNLOAD)

// Start the analysis process with the following call
cleaner.analyze(
isFullRefresh = true
)

Throws

Session is not initialized.

Required permissions were not granted.