UserAgentMetadata.BrandVersion
class UserAgentMetadata.BrandVersion
Class that holds brand name, major version and full version. Brand name and major version used to generated user-agent client hint sec-cu-ua. Brand name and full version used to generated user-agent client hint sec-ch-ua-full-version-list.
This class is functionally equivalent to NavigatorUABrandVersion.
Summary
Nested types |
|---|
|
Builder used to create |
Public functions |
|
|---|---|
Boolean |
Two BrandVersion objects are equal only if brand name, major version and full version are equal. |
String |
getBrand()Returns the brand of user-agent brand version tuple. |
String |
Returns the full version of user-agent brand version tuple. |
String |
Returns the major version of user-agent brand version tuple. |
Int |
hashCode() |
String |
toString() |
Public functions
equals
fun equals(o: Any!): Boolean
Two BrandVersion objects are equal only if brand name, major version and full version are equal.
getFullVersion
fun getFullVersion(): String
Returns the full version of user-agent brand version tuple.
getMajorVersion
fun getMajorVersion(): String
Returns the major version of user-agent brand version tuple.