public static enum ApnInfo.AuthType extends java.lang.Enum<ApnInfo.AuthType> implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<ApnInfo.AuthType> |
CREATOR |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
static ApnInfo.AuthType |
findByValue(int value) |
static ApnInfo.AuthType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApnInfo.AuthType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final ApnInfo.AuthType None
public static final ApnInfo.AuthType PAP
public static final ApnInfo.AuthType CHAP
public static final ApnInfo.AuthType PAP_CHAP
public static android.os.Parcelable.Creator<ApnInfo.AuthType> CREATOR
public static ApnInfo.AuthType[] values()
for (ApnInfo.AuthType c : ApnInfo.AuthType.values()) System.out.println(c);
public static ApnInfo.AuthType 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 describeContents()
describeContents
in interface android.os.Parcelable
public static ApnInfo.AuthType findByValue(int value)
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable