public enum AutofillContactFieldName extends Enum<AutofillContactFieldName> implements AutofillFieldName
Enum Constant and Description |
---|
EMAIL |
INSTANT_MESSAGING_PROTOCOL_ENDPOINT |
TELEPHONE |
TELEPHONE_AREA_CODE |
TELEPHONE_COUNTRY_CODE |
TELEPHONE_EXTENSION |
TELEPHONE_LOCAL |
TELEPHONE_LOCAL_PREFIX |
TELEPHONE_LOCAL_SUFFIX |
TELEPHONE_NATIONAL |
Modifier and Type | Method and Description |
---|---|
int |
getPosition() |
String |
getToken() |
static AutofillContactFieldName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutofillContactFieldName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutofillContactFieldName TELEPHONE
public static final AutofillContactFieldName TELEPHONE_COUNTRY_CODE
public static final AutofillContactFieldName TELEPHONE_NATIONAL
public static final AutofillContactFieldName TELEPHONE_AREA_CODE
public static final AutofillContactFieldName TELEPHONE_LOCAL
public static final AutofillContactFieldName TELEPHONE_LOCAL_PREFIX
public static final AutofillContactFieldName TELEPHONE_LOCAL_SUFFIX
public static final AutofillContactFieldName TELEPHONE_EXTENSION
public static final AutofillContactFieldName EMAIL
public static final AutofillContactFieldName INSTANT_MESSAGING_PROTOCOL_ENDPOINT
public static AutofillContactFieldName[] values()
for (AutofillContactFieldName c : AutofillContactFieldName.values()) System.out.println(c);
public static AutofillContactFieldName 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 String getToken()
getToken
in interface AutofillDetailToken
public int getPosition()
getPosition
in interface AutofillDetailToken
Copyright © 2018 Xalys. All rights reserved.