clear
This method is used to clean selected trash items.
Parameters
content
List of trash items.
Example:
// Get the cleaner some through the cleaner manager
val cleaner = CleanerManagerFactory.cleanerManager.getCleaner(CleanerType.DOWNLOAD)
// Get a list of items to remove
val trashItemList: List<TrashItem>
// Start the analysis process with the following call
cleaner.clean(
content = trashItemList
)Content copied to clipboard
See also
Throws
Session is not initialized.
Required permissions were not granted.