Enum DeviceTypeByAgent
- java.lang.Object
-
- java.lang.Enum<DeviceTypeByAgent>
-
- com.blackberry.workspaces.sdk.api.enums.DeviceTypeByAgent
-
- All Implemented Interfaces:
Serializable
,Comparable<DeviceTypeByAgent>
public enum DeviceTypeByAgent extends Enum<DeviceTypeByAgent>
An enum of device types by agent.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANDROID
AndroidBLACKBERRY
BlackBerryBROWSER
BrowserCHROME
ChromeEDGE
EdgeFIREFOX
FirefoxINTERNET_EXPLORER
Internet ExplorerIOS
iOSMAC
MacMACINTOSH
MacintoshSAFARI
SafariWINDOWS
WindowsWINDOWS_MOBILE
Windows Mobile
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DeviceTypeByAgent
valueOf(String name)
Returns the enum constant of this type with the specified name.static DeviceTypeByAgent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IOS
public static final DeviceTypeByAgent IOS
iOS
-
BLACKBERRY
public static final DeviceTypeByAgent BLACKBERRY
BlackBerry
-
ANDROID
public static final DeviceTypeByAgent ANDROID
Android
-
WINDOWS
public static final DeviceTypeByAgent WINDOWS
Windows
-
MACINTOSH
public static final DeviceTypeByAgent MACINTOSH
Macintosh
-
MAC
public static final DeviceTypeByAgent MAC
Mac
-
BROWSER
public static final DeviceTypeByAgent BROWSER
Browser
-
CHROME
public static final DeviceTypeByAgent CHROME
Chrome
-
EDGE
public static final DeviceTypeByAgent EDGE
Edge
-
FIREFOX
public static final DeviceTypeByAgent FIREFOX
Firefox
-
SAFARI
public static final DeviceTypeByAgent SAFARI
Safari
-
INTERNET_EXPLORER
public static final DeviceTypeByAgent INTERNET_EXPLORER
Internet Explorer
-
WINDOWS_MOBILE
public static final DeviceTypeByAgent WINDOWS_MOBILE
Windows Mobile
-
-
Method Detail
-
values
public static DeviceTypeByAgent[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DeviceTypeByAgent c : DeviceTypeByAgent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeviceTypeByAgent valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-