public class UserAgentOperatingSystem extends Object
It contains information about the name, type, version, and major version of the operating system of user agent.
The UserAgentOperatingSystem class provides methods to access the information stored in the
UserAgentOperatingSystem object. For example, you can get the version of the Operating System of the user agent
by calling getVersion()
.
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the operating system.
|
String |
getType()
Returns the class of the operating system.
|
String |
getVersion()
Returns the version of the operating system.
|
String |
getVersionMajor()
Returns the major version of the operating system.
|
String |
toString()
Returns a JSON representation of the operating system data.
|
public String getName()
public String getType()
public String getVersion()
public String getVersionMajor()
Copyright © 2024. All rights reserved.