PhotosCollector

Permissioned collector for SignalCategory.Photos.

Reports image/video counts, capture-year distribution and access mode (full vs Android 14+ partial selection) via the MediaStore content provider. Only counts and year buckets are read — never filenames, paths or image data.

Privacy: media-library size and timeline are behaviorally identifying; no media content is accessed. Gated behind PermissionKind.Photos.

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 aggregate media-library signals for this category.