public enum IosDeviceName extends Enum<IosDeviceName>
| Enum Constant and Description |
|---|
iPad_7 |
iPad_Air_2 |
iPad_Pro_3 |
iPhone_11 |
iPhone_11_Pro |
iPhone_11_Pro_Max |
iPhone_12 |
iPhone_12_mini |
iPhone_12_Pro |
iPhone_12_Pro_Max |
iPhone_7 |
iPhone_8 |
iPhone_X |
iPhone_XR |
iPhone_XS |
| Modifier and Type | Method and Description |
|---|---|
static IosDeviceName |
fromName(String value) |
String |
getName() |
String |
toString() |
static IosDeviceName |
valueOf(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.
|
public static final IosDeviceName iPhone_11_Pro
public static final IosDeviceName iPhone_11_Pro_Max
public static final IosDeviceName iPhone_11
public static final IosDeviceName iPhone_XR
public static final IosDeviceName iPhone_XS
public static final IosDeviceName iPhone_X
public static final IosDeviceName iPhone_8
public static final IosDeviceName iPhone_7
public static final IosDeviceName iPad_Pro_3
public static final IosDeviceName iPad_7
public static final IosDeviceName iPad_Air_2
public static final IosDeviceName iPhone_12_Pro_Max
public static final IosDeviceName iPhone_12_Pro
public static final IosDeviceName iPhone_12
public static final IosDeviceName iPhone_12_mini
public static IosDeviceName[] values()
for (IosDeviceName c : IosDeviceName.values()) System.out.println(c);
public static IosDeviceName valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getName()
public String toString()
toString in class Enum<IosDeviceName>public static IosDeviceName fromName(String value) throws IllegalArgumentException
IllegalArgumentException - if unknown string.Copyright © 2022. All rights reserved.