ScanTool

Inheritors

AndroidScanTool
JsScanTool
JvmScanTool
NativeScanTool
WasmJsScanTool

Properties

Link copied to clipboard
abstract val blocklistCount: UInt
Link copied to clipboard
abstract var cacheFile: String
Link copied to clipboard
abstract val catalogEntryCount: UInt
Link copied to clipboard
abstract val formatCount: UInt
Link copied to clipboard
abstract val lastScanError: String

Functions

Link copied to clipboard
abstract fun addToBlocklist(formatName: String, pluginId: String, reason: String)
Link copied to clipboard
abstract fun clearBlocklist()
Link copied to clipboard
expect abstract fun close()
Link copied to clipboard
abstract fun flushBlocklist()
Link copied to clipboard
abstract fun getBlocklistEntry(index: UInt): BlocklistEntry?
Link copied to clipboard
abstract fun getFormatName(index: UInt): String
Link copied to clipboard
abstract fun performScanning(requireFastScanning: Boolean, observer: ScanObserver? = null)

requireFastScanning mirrors the C API parameter (false = full slow scan).

Link copied to clipboard
abstract fun saveCache()
Link copied to clipboard
abstract fun saveCacheTo(path: String)
Link copied to clipboard
abstract fun unblockBundle(entryId: String): Boolean