BrowserData

@Serializable
data class BrowserData(val userAgent: String)

Data class representing browser and WebView characteristics of the device.

This class encapsulates browser-related information that can be used for device fingerprinting, compatibility checks, and security analysis. The data is primarily derived from the WebView's default user agent string.

User Agent Format Example:

Mozilla/5.0 (Linux; Android 12; sdk_gphone64_x86_64 Build/SPB5.210812.003; wv)
AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/91.0.4472.114 Mobile Safari/537.36

The user agent string typically contains:

  • Mozilla compatibility identifier

  • Platform information (Linux; Android version)

  • Device model and build information

  • WebView indicator (wv)

  • Rendering engine details (WebKit version)

  • Browser engine information (Chrome version)

  • Mobile/desktop classification

This information is valuable for:

  • Device fingerprinting and identification

  • Browser compatibility detection

  • Security analysis and fraud prevention

  • Analytics and user experience optimization

Constructors

Link copied to clipboard
constructor(userAgent: String)

Properties

Link copied to clipboard

The default user agent string provided by the device's WebView.