public enum CancelReason extends Enum<CancelReason>
GENASubscription
has ended unexpectedly.Enum Constant and Description |
---|
DEVICE_WAS_REMOVED |
EXPIRED |
RENEWAL_FAILED |
UNSUBSCRIBE_FAILED |
Modifier and Type | Method and Description |
---|---|
static CancelReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CancelReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CancelReason RENEWAL_FAILED
public static final CancelReason DEVICE_WAS_REMOVED
public static final CancelReason UNSUBSCRIBE_FAILED
public static final CancelReason EXPIRED
public static CancelReason[] values()
for (CancelReason c : CancelReason.values()) System.out.println(c);
public static CancelReason 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 © 2016 4th Line GmbH, Switzerland. All rights reserved.