public enum MessageDestination extends Enum<MessageDestination> implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Enum Constant and Description |
---|
CUSTOMER_DISPLAY |
CUSTOMER_RECEIPT |
CUSTOMER_RECEIPT_AID_PARAM |
MERCHANT_DISPLAY |
MERCHANT_RECEIPT |
MERCHANT_RECEIPT_AID_PARAM |
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<MessageDestination> |
CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
static MessageDestination |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageDestination[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeToParcel(Parcel dest,
int flags) |
public static final MessageDestination CUSTOMER_DISPLAY
public static final MessageDestination CUSTOMER_RECEIPT
public static final MessageDestination CUSTOMER_RECEIPT_AID_PARAM
public static final MessageDestination MERCHANT_DISPLAY
public static final MessageDestination MERCHANT_RECEIPT
public static final MessageDestination MERCHANT_RECEIPT_AID_PARAM
public static final Parcelable.Creator<MessageDestination> CREATOR
public static MessageDestination[] values()
for (MessageDestination c : MessageDestination.values()) System.out.println(c);
public static MessageDestination 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 int describeContents()
describeContents
in interface Parcelable
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable