BookshelfScanManager

Manages bookshelf scanning and observation.

Functions

Link copied to clipboard
abstract fun isScanningFile(bookshelfId: BookshelfId): Flow<Boolean>

Observes whether the bookshelf file scan is currently running.

Link copied to clipboard
abstract fun isScanningThumbnail(bookshelfId: BookshelfId): Flow<Boolean>

Observes whether the bookshelf thumbnail scan is currently running.

Link copied to clipboard
abstract fun scanFile(bookshelfId: BookshelfId)

Requests a background scan for the specified bookshelf files.

Link copied to clipboard
abstract fun scanThumbnail(bookshelfId: BookshelfId)

Requests a background scan for the specified bookshelf thumbnails.