public interface IUserAgent
IUserAgent instance stores the
type, version and platform of the user agent in the format:
ua_type, ua_version, ua_platform.
IUserAgent is constant; its value cannot be changed after
it is created.| Modifier and Type | Method and Description |
|---|---|
Enumeration |
getAllKnownPlatforms()
Deprecated.
As of version EP 6.0.2.1; use
IUserAgentService.getAllKnownPlatforms(Locale) |
Enumeration |
getAllKnownTypes()
Deprecated.
As of version EP 6.0.2.1; use
IUserAgentService.getAllKnownTypes(Locale) |
int |
getMajorVersion()
Gets the user agent major version.
|
int |
getMinorVersion()
Gets the user agent minor version.
|
String |
getPlatform()
Gets the user agent platform.
|
String |
getType()
Gets the user agent type.
|
String |
getUserAgentString()
Gets the user agent string.
|
float |
getVersion()
Gets the user agent version.
|
String |
toString()
Returns the user agent type, version and platform as a string
representation.
|
String getType()
float getVersion()
int getMajorVersion()
int getMinorVersion()
String getPlatform()
String getUserAgentString()
Enumeration getAllKnownTypes()
IUserAgentService.getAllKnownTypes(Locale)IUserAgentConstants.Enumeration getAllKnownPlatforms()
IUserAgentService.getAllKnownPlatforms(Locale)IUserAgentConstants.| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS
|
[sap.com] tc/ep/useragent/api
|
api
|
EP-PIN
|
Copyright 2021 SAP SE Complete Copyright Notice