BrowserCollector

val BrowserCollector: <Error class: unknown class>

Pre-configured device collector for gathering browser and WebView information.

This collector captures browser-related device characteristics by examining the default WebView user agent string. The user agent provides valuable device fingerprinting information including:

  • Android version and build details

  • Device model and manufacturer information

  • WebView/Chrome version details

  • System architecture information

  • Locale and language preferences

The collector is implemented as a lazy-initialized singleton for optimal performance and memory usage across the application lifecycle.

Usage Example:

val browserInfo = BrowserCollector.collect()
println("User Agent: ${browserInfo.userAgent}")

Integration with Device Profile:

val collectors = listOf(BrowserCollector, /* other collectors */)
val deviceProfile = collectors.collect()

See also