public enum Code extends Enum<Code> implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Enum Constant and Description |
---|
BAKERY |
BAR |
BOUTIQUE |
CATERING |
COFFEE_SHOP |
CONVENIENCE_STORE |
DELI |
FITNESS |
FLORIST |
FOOD_TRUCK |
FROZEN_YOGURT |
FULL_SERVICE_RESTAURANT |
GROCERY |
HAIR_SALON |
HOME_AND_REPAIR |
JEWELRY |
LIQUOR_STORE |
OTHER_RESTAURANT |
OTHER_RETAIL |
OTHER_SERVICE |
PIZZA |
PROFESSIONAL_SERVICES |
QUICK_SERVICE_RESTAURANT |
SPA |
VAPE_SHOP |
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<Code> |
CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
static Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Code[] |
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 Code FULL_SERVICE_RESTAURANT
public static final Code QUICK_SERVICE_RESTAURANT
public static final Code COFFEE_SHOP
public static final Code BAKERY
public static final Code BAR
public static final Code FOOD_TRUCK
public static final Code FROZEN_YOGURT
public static final Code PIZZA
public static final Code DELI
public static final Code OTHER_RESTAURANT
public static final Code BOUTIQUE
public static final Code CONVENIENCE_STORE
public static final Code GROCERY
public static final Code LIQUOR_STORE
public static final Code VAPE_SHOP
public static final Code JEWELRY
public static final Code FLORIST
public static final Code OTHER_RETAIL
public static final Code FITNESS
public static final Code SPA
public static final Code HAIR_SALON
public static final Code HOME_AND_REPAIR
public static final Code PROFESSIONAL_SERVICES
public static final Code CATERING
public static final Code OTHER_SERVICE
public static final Parcelable.Creator<Code> CREATOR
public static Code[] values()
for (Code c : Code.values()) System.out.println(c);
public static Code 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