public static enum AVQuery.CachePolicy extends Enum<AVQuery.CachePolicy>
| Enum Constant and Description |
|---|
CACHE_ELSE_NETWORK |
CACHE_ONLY |
CACHE_THEN_NETWORK |
IGNORE_CACHE |
NETWORK_ELSE_CACHE |
NETWORK_ONLY |
| Modifier and Type | Method and Description |
|---|---|
static AVQuery.CachePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AVQuery.CachePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AVQuery.CachePolicy CACHE_ELSE_NETWORK
public static final AVQuery.CachePolicy CACHE_ONLY
public static final AVQuery.CachePolicy CACHE_THEN_NETWORK
public static final AVQuery.CachePolicy IGNORE_CACHE
public static final AVQuery.CachePolicy NETWORK_ELSE_CACHE
public static final AVQuery.CachePolicy NETWORK_ONLY
public static AVQuery.CachePolicy[] values()
for (AVQuery.CachePolicy c : AVQuery.CachePolicy.values()) System.out.println(c);
public static AVQuery.CachePolicy 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 nullCopyright © 2017. All rights reserved.