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
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun addFormatSearchPath(formatIndex: UInt, path: String)
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 formatUsesSearchPaths(formatIndex: UInt): Boolean

False for a format enumerated by the OS (AU); the rest below then do nothing.

Link copied to clipboard
abstract fun getBlocklistEntry(index: UInt): BlocklistEntry?
Link copied to clipboard
abstract fun getFormatDefaultSearchPaths(formatIndex: UInt): List<String>
Link copied to clipboard
abstract fun getFormatName(index: UInt): String
Link copied to clipboard
abstract fun getFormatSearchPaths(formatIndex: UInt): List<String>
Link copied to clipboard
abstract fun getFormatUseDefaultSearchPaths(formatIndex: UInt): Boolean
Link copied to clipboard
abstract fun loadSearchPathSettings()

Run after the formats are registered and before the first scan.

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 saveSearchPathSettings()
Link copied to clipboard
abstract fun setFormatSearchPaths(formatIndex: UInt, paths: List<String>)
Link copied to clipboard
abstract fun setFormatUseDefaultSearchPaths(formatIndex: UInt, value: Boolean)
Link copied to clipboard
abstract fun unblockBundle(entryId: String): Boolean