public enum IosVersion extends Enum<IosVersion>
| Enum Constant and Description |
|---|
LATEST |
ONE_VERSION_BACK |
| Modifier and Type | Method and Description |
|---|---|
static IosVersion |
fromVersion(String value) |
String |
getVersion() |
static IosVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IosVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IosVersion LATEST
public static final IosVersion ONE_VERSION_BACK
public static IosVersion[] values()
for (IosVersion c : IosVersion.values()) System.out.println(c);
public static IosVersion 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 getVersion()
public static IosVersion fromVersion(String value) throws IllegalArgumentException
IllegalArgumentException - if unknown string.Copyright © 2022. All rights reserved.