public final class

UserAgentMetadata.BrandVersion

extends java.lang.Object

 java.lang.Object

↳androidx.webkit.UserAgentMetadata.BrandVersion

Overview

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

Methods
public booleanequals(java.lang.Object o)

Two BrandVersion objects are equal only if brand name, major version and full version are equal.

public java.lang.StringgetBrand()

Returns the brand of user-agent brand version tuple.

public java.lang.StringgetFullVersion()

Returns the full version of user-agent brand version tuple.

public java.lang.StringgetMajorVersion()

Returns the major version of user-agent brand version tuple.

public inthashCode()

public java.lang.StringtoString()

from java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait

Methods

public java.lang.String getBrand()

Returns the brand of user-agent brand version tuple.

public java.lang.String getMajorVersion()

Returns the major version of user-agent brand version tuple.

public java.lang.String getFullVersion()

Returns the full version of user-agent brand version tuple.

public java.lang.String toString()

public boolean equals(java.lang.Object o)

Two BrandVersion objects are equal only if brand name, major version and full version are equal.

public int hashCode()