public enum PKPassType extends Enum<PKPassType>
| Enum Constant and Description |
|---|
PKBoardingPass |
PKCoupon |
PKEventTicket |
PKGenericPass |
PKStoreCard |
| Modifier and Type | Method and Description |
|---|---|
static PKPassType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PKPassType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PKPassType PKGenericPass
public static final PKPassType PKBoardingPass
public static final PKPassType PKCoupon
public static final PKPassType PKEventTicket
public static final PKPassType PKStoreCard
public static PKPassType[] values()
for (PKPassType c : PKPassType.values()) System.out.println(c);
public static PKPassType 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 nullCopyright © 2012–2022. All rights reserved.