ManageBookshelfScanUseCase

Manage bookshelf scanning tasks and their execution status.

Functions

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

Observe whether a file scan is currently running for the specified bookshelf.

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

Observe whether a thumbnail generation scan is currently running for the specified bookshelf.

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

Request a file scan for the specified bookshelf.

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

Request thumbnail generation for the specified bookshelf.