public enum KernelType extends java.lang.Enum<KernelType> implements android.os.Parcelable
Enum Constant and Description |
---|
AMEX |
CHINA_UNION_PAY |
DISCOVER |
EMV_CT |
MASTERCARD |
VISA |
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<KernelType> |
CREATOR |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
java.lang.String |
getName() |
byte |
getType() |
static KernelType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KernelType[] |
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 KernelType EMV_CT
public static final KernelType VISA
public static final KernelType MASTERCARD
public static final KernelType AMEX
public static final KernelType DISCOVER
public static final KernelType CHINA_UNION_PAY
public static android.os.Parcelable.Creator<KernelType> CREATOR
public static KernelType[] values()
for (KernelType c : KernelType.values()) System.out.println(c);
public static KernelType 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 byte getType()
public java.lang.String getName()
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable