public static enum TermsOfUseContext.Decision extends Enum<TermsOfUseContext.Decision>
| Enum Constant and Description |
|---|
ACCEPTED
Indicates that the user accepted the terms of use.
|
DECLINED
Indicates that the user declined the terms of use.
|
INAPPLICABLE
Indicates that it was not possible to determine th user's acceptance of the terms of use for the given
request.
|
PRIOR
User gave acceptance of the terms of use in the past.
|
UNSPECIFIED
Indicates that no claim is made about terms of use acceptance.
|
| Modifier and Type | Method and Description |
|---|---|
static TermsOfUseContext.Decision |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TermsOfUseContext.Decision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TermsOfUseContext.Decision UNSPECIFIED
public static final TermsOfUseContext.Decision INAPPLICABLE
public static final TermsOfUseContext.Decision PRIOR
public static final TermsOfUseContext.Decision ACCEPTED
public static final TermsOfUseContext.Decision DECLINED
public static TermsOfUseContext.Decision[] values()
for (TermsOfUseContext.Decision c : TermsOfUseContext.Decision.values()) System.out.println(c);
public static TermsOfUseContext.Decision 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 © 1999–2014. All rights reserved.