Package com.blueconic.browscap
Interface Capabilities
public interface Capabilities
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the browser value (e.g.Returns the major version of the browser (e.g.Returns the browser type (e.g.Returns the device type (e.g.Returns the platform name (e.g.Returns the platform version (e.g.getValue(BrowsCapField field) Returns the value for the specified field.Returns the Map of values with the fields passed to the parser while loading
-
Field Details
-
UNKNOWN_BROWSCAP_VALUE
- See Also:
-
-
Method Details
-
getBrowser
String getBrowser()Returns the browser value (e.g. Chrome)- Returns:
- the browser
-
getBrowserType
String getBrowserType()Returns the browser type (e.g. Browser or Application)- Returns:
- the browser type
-
getBrowserMajorVersion
String getBrowserMajorVersion()Returns the major version of the browser (e.g. 55 in case of Chrome)- Returns:
- the browser major version
-
getPlatform
String getPlatform()Returns the platform name (e.g. Android, iOS, Win7, Win10)- Returns:
- the platform
-
getPlatformVersion
String getPlatformVersion()Returns the platform version (e.g. 4.2, 10 depending on what the platform is)- Returns:
- the platform version
-
getDeviceType
String getDeviceType()Returns the device type (e.g. Mobile Phone, Desktop, Tablet, Console, TV Device)- Returns:
- the device type
-
getValue
Returns the value for the specified field.- Parameters:
field- The field for which the value should be returned.- Returns:
- the value for the specified field.
-
getValues
Map<BrowsCapField,String> getValues()Returns the Map of values with the fields passed to the parser while loading- Returns:
- the map of values
-