Enum IosDeviceName
- java.lang.Object
-
- java.lang.Enum<IosDeviceName>
-
- com.applitools.eyes.visualgrid.model.IosDeviceName
-
- All Implemented Interfaces:
Serializable,Comparable<IosDeviceName>
public enum IosDeviceName extends Enum<IosDeviceName>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IosDeviceNamefromName(String value)StringgetName()StringtoString()static IosDeviceNamevalueOf(String name)Returns the enum constant of this type with the specified name.static IosDeviceName[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
iPhone_14_Pro_Max
public static final IosDeviceName iPhone_14_Pro_Max
-
iPhone_14
public static final IosDeviceName iPhone_14
-
iPhone_13_Pro_Max
public static final IosDeviceName iPhone_13_Pro_Max
-
iPhone_13_Pro
public static final IosDeviceName iPhone_13_Pro
-
iPhone_13
public static final IosDeviceName iPhone_13
-
iPhone_12_Pro_Max
public static final IosDeviceName iPhone_12_Pro_Max
-
iPhone_12_Pro
public static final IosDeviceName iPhone_12_Pro
-
iPhone_12
public static final IosDeviceName iPhone_12
-
iPhone_12_mini
public static final IosDeviceName iPhone_12_mini
-
iPhone_11_Pro
public static final IosDeviceName iPhone_11_Pro
-
iPhone_11_Pro_Max
public static final IosDeviceName iPhone_11_Pro_Max
-
iPhone_11
public static final IosDeviceName iPhone_11
-
iPhone_XR
public static final IosDeviceName iPhone_XR
-
iPhone_XS
public static final IosDeviceName iPhone_XS
-
iPhone_X
public static final IosDeviceName iPhone_X
-
iPhone_8_Plus
public static final IosDeviceName iPhone_8_Plus
-
iPhone_8
public static final IosDeviceName iPhone_8
-
iPhone_7
public static final IosDeviceName iPhone_7
-
iPhone_SE
public static final IosDeviceName iPhone_SE
-
iPad_Pro_3
public static final IosDeviceName iPad_Pro_3
-
iPad_7
public static final IosDeviceName iPad_7
-
iPad_9
public static final IosDeviceName iPad_9
-
iPad_Air_2
public static final IosDeviceName iPad_Air_2
-
iPad_Air_4
public static final IosDeviceName iPad_Air_4
-
-
Method Detail
-
values
public static IosDeviceName[] 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 (IosDeviceName c : IosDeviceName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IosDeviceName 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
-
getName
public String getName()
-
toString
public String toString()
- Overrides:
toStringin classEnum<IosDeviceName>
-
fromName
public static IosDeviceName fromName(String value) throws IllegalArgumentException
- Returns:
- the Enum representation for the given string.
- Throws:
IllegalArgumentException- if unknown string.
-
-