UserAgentMetadata

@Serializable
data class UserAgentMetadata(val brands: List<UserAgentBrandVersion>? = null, val fullVersionList: List<UserAgentBrandVersion>? = null, val fullVersion: String? = null, val platform: String, val platformVersion: String, val architecture: String, val model: String, val mobile: Boolean, val bitness: String? = null, val wow64: Boolean? = null)(source)

Used to specify User Agent Cient Hints to emulate. See https://wicg.github.io/ua-client-hints Missing optional values will be filled in by the target with what it would normally use.

Official doc

Constructors

Link copied to clipboard
constructor(brands: List<UserAgentBrandVersion>? = null, fullVersionList: List<UserAgentBrandVersion>? = null, fullVersion: String? = null, platform: String, platformVersion: String, architecture: String, model: String, mobile: Boolean, bitness: String? = null, wow64: Boolean? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val bitness: String? = null
Link copied to clipboard

Brands appearing in Sec-CH-UA.

Link copied to clipboard
val fullVersion: String? = null
Link copied to clipboard

Brands appearing in Sec-CH-UA-Full-Version-List.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val wow64: Boolean? = null