SongScanPolicy

class SongScanPolicy(val localFiles: Boolean = true, val network: Boolean = false, val customReaders: Boolean = false)

Which items a background song scan may read. Local files scan by default; a network URI and an item with its own reader factory need the application's explicit consent, because a scan reads the whole track a second time. Live and read-once items never scan.

Constructors

Link copied to clipboard
constructor(localFiles: Boolean = true, network: Boolean = false, customReaders: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Items that bring their own reader factory, which must allow a second concurrent open.

Link copied to clipboard

Files on this device, named by a file: URI or a plain path.

Link copied to clipboard

Any other URI, such as https:. The application owns the extra download.