public static enum ProfileSubscription.ProfileSubscriptionState extends Enum<ProfileSubscription.ProfileSubscriptionState>
ProfileListener
to be notified of the
state changes. The subscription request will either be accepted, with
the state changing to ACTIVE, or rejected, with the state changing
to INACTIVE.
Modifier and Type | Method and Description |
---|---|
static ProfileSubscription.ProfileSubscriptionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProfileSubscription.ProfileSubscriptionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProfileSubscription.ProfileSubscriptionState PENDING
public static final ProfileSubscription.ProfileSubscriptionState ACTIVE
public static final ProfileSubscription.ProfileSubscriptionState INACTIVE
public static ProfileSubscription.ProfileSubscriptionState[] values()
for (ProfileSubscription.ProfileSubscriptionState c : ProfileSubscription.ProfileSubscriptionState.values()) System.out.println(c);
public static ProfileSubscription.ProfileSubscriptionState 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 null