public static enum MobileUtils.MobileOS extends Enum<MobileUtils.MobileOS>
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
boolean |
isMatched(@NonNull String userAgent) |
static MobileUtils.MobileOS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MobileUtils.MobileOS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MobileUtils.MobileOS IOS
public static final MobileUtils.MobileOS ANDROID
public static final MobileUtils.MobileOS WINDOWS
public static final MobileUtils.MobileOS UNKNOWN
public static MobileUtils.MobileOS[] values()
for (MobileUtils.MobileOS c : MobileUtils.MobileOS.values()) System.out.println(c);
public static MobileUtils.MobileOS 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 getValue()
public boolean isMatched(@NonNull String userAgent)
Copyright © 2003–2021 Atlassian. All rights reserved.