public enum AutofillContactType extends Enum<AutofillContactType> implements AutofillDetailToken
Modifier and Type | Method and Description |
---|---|
int |
getPosition() |
String |
getToken() |
static AutofillContactType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutofillContactType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutofillContactType HOME
public static final AutofillContactType WORK
public static final AutofillContactType MOBILE
public static final AutofillContactType FAX
public static final AutofillContactType PAGER
public static AutofillContactType[] values()
for (AutofillContactType c : AutofillContactType.values()) System.out.println(c);
public static AutofillContactType 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.