public enum Profile extends Enum<Profile>
This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
Enum Constant and Description |
---|
COMPACT1 |
COMPACT2 |
COMPACT3 |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
static Profile |
instance(Context context) |
boolean |
isValid(Target t) |
static Profile |
lookup(int value) |
static Profile |
lookup(String name) |
static Profile |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Profile[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Profile COMPACT1
public static final Profile COMPACT2
public static final Profile COMPACT3
public static final Profile DEFAULT
public final String name
public final int value
public static Profile[] values()
for (Profile c : Profile.values()) System.out.println(c);
public static Profile 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 Profile lookup(int value)
public boolean isValid(Target t)
Copyright © 2017 earcam. All rights reserved.