LocalNetworkCollector

Permissioned collector for SignalCategory.LocalNetwork.

Reports Wi-Fi enabled state, visible AP count, band and security-protocol distribution (via WifiManager scan results) and mDNS/NSD service discovery (discoverLocalNetworkServices). Scanning requires NEARBY_WIFI_DEVICES (Android 13+) or fine location on older releases.

Privacy: nearby APs and local services characterize the physical network environment; SSIDs and hostnames are never exported, only aggregate counts/types. Gated behind PermissionKind.LocalNetwork.

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 local-network environment signals for this category.