CatalogManager

interface CatalogManager

Catalogs are folders where media files are stored. The catalog manager allows you to manage catalogs by providing, on command, library access to the media files in them.

Functions

Link copied to clipboard
Link copied to clipboard
abstract suspend fun switchAllCatalogs(isEnabled: Boolean)

Makes all found catalogs available or not available, depending on the value of the isEnabled parameter.

Link copied to clipboard
abstract suspend fun switchCatalog(catalogId: Long, isEnabled: Boolean)

Makes catalog with catalogId available or not available, depending on the value of the isEnabled parameter.

Link copied to clipboard
abstract suspend fun switchCatalogs(catalogIds: Set<Long>, isEnabled: Boolean)

Makes catalogs with catalogIds available or not available, depending on the value of the isEnabled parameter.