Cleaner

interface Cleaner

The interface describing the cleaner

Properties

Link copied to clipboard
abstract val cleanerType: CleanerType

Used to classify the cleaner.

Link copied to clipboard
abstract val stateFlow: StateFlow<CleanerState>

Used to monitor the condition of the cleaner.

Functions

Link copied to clipboard
abstract suspend fun analyze(isFullRefresh: Boolean)

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

Link copied to clipboard
abstract suspend fun <T : TrashItem> clear(content: List<T>)

This method is used to clean selected trash items.