public static enum RouterServiceValidator.TrustedAppStore extends Enum<RouterServiceValidator.TrustedAppStore>
| Enum Constant and Description |
|---|
AMAZON |
BAIDU_APP_SEARCH |
HIAPK |
PLAY_STORE |
SAMSUNG |
WANDOUJIA |
XIAOMI |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isTrustedStore(String packageString)
Test if the supplied store package is one of the trusted app stores
|
static RouterServiceValidator.TrustedAppStore |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RouterServiceValidator.TrustedAppStore[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouterServiceValidator.TrustedAppStore PLAY_STORE
public static final RouterServiceValidator.TrustedAppStore AMAZON
public static final RouterServiceValidator.TrustedAppStore XIAOMI
public static final RouterServiceValidator.TrustedAppStore SAMSUNG
public static final RouterServiceValidator.TrustedAppStore WANDOUJIA
public static final RouterServiceValidator.TrustedAppStore BAIDU_APP_SEARCH
public static final RouterServiceValidator.TrustedAppStore HIAPK
public static RouterServiceValidator.TrustedAppStore[] values()
for (RouterServiceValidator.TrustedAppStore c : RouterServiceValidator.TrustedAppStore.values()) System.out.println(c);
public static RouterServiceValidator.TrustedAppStore 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 static boolean isTrustedStore(String packageString)
packageString -