UserAgentMetadata

@Serializable
data class UserAgentMetadata(val brands: List<Emulation.UserAgentBrandVersion>? = null, val fullVersionList: List<Emulation.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, val formFactors: List<String>? = null)

Used to specify User Agent Client 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.

Constructors

Link copied to clipboard
constructor(brands: List<Emulation.UserAgentBrandVersion>? = null, fullVersionList: List<Emulation.UserAgentBrandVersion>? = null, fullVersion: String? = null, platform: String, platformVersion: String, architecture: String, model: String, mobile: Boolean, bitness: String? = null, wow64: Boolean? = null, formFactors: List<String>? = 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 formFactors: List<String>? = null

Used to specify User Agent form-factor values. See https://wicg.github.io/ua-client-hints/#sec-ch-ua-form-factors

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