MusicLibraryCollector

Permissioned collector for SignalCategory.MusicLibrary.

Reports the on-device audio-file count via the MediaStore content provider. Only the aggregate count is read — never track titles or file paths.

Privacy: music-library size is a media-consumption fingerprint; no audio content is accessed. Gated behind PermissionKind.MusicLibrary.

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val category: SignalCategory

Functions

Link copied to clipboard
open suspend override fun collect(context: Context): List<FingerprintSignal>

Collects the aggregate audio-file-count signal for this category.