public static enum Constants.ContentInspectResult extends java.lang.Enum<Constants.ContentInspectResult>
| Enum Constant and Description |
|---|
CONTENT_INSPECT_NEUTRAL |
CONTENT_INSPECT_PORN |
CONTENT_INSPECT_SEXY |
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Modifier and Type | Method and Description |
|---|---|
static Constants.ContentInspectResult |
fromInt(int value)
Converts an integer value to its corresponding CONTENT_INSPECT_RESULT enum
constant.
|
int |
getValue()
Gets the integer value of the content inspect result.
|
static Constants.ContentInspectResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.ContentInspectResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.ContentInspectResult CONTENT_INSPECT_NEUTRAL
public static final Constants.ContentInspectResult CONTENT_INSPECT_SEXY
public static final Constants.ContentInspectResult CONTENT_INSPECT_PORN
public static Constants.ContentInspectResult[] values()
for (Constants.ContentInspectResult c : Constants.ContentInspectResult.values()) System.out.println(c);
public static Constants.ContentInspectResult valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getValue()
public static Constants.ContentInspectResult fromInt(int value)
value - The integer value.