Module com.esri.arcgisruntime
Package com.esri.arcgisruntime.portal
Enum Class SubscriptionInfo.State
- All Implemented Interfaces:
Serializable
,Comparable<SubscriptionInfo.State>
,Constable
- Enclosing class:
SubscriptionInfo
Signifies the state of the user's subscription.
- Since:
- 100.9.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSubscription is active and allows all functionality.Subscription was canceled.Subscription was deleted.Subscription has expired.Subscription has run out of credits.Subscription was suspended.Subscription state is unknown. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
Returns a string representing the subscription state.static SubscriptionInfo.State
Returns the enum constant of this class with the specified name.static SubscriptionInfo.State[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACTIVE
Subscription is active and allows all functionality.- Since:
- 100.9.0
-
CANCELED
Subscription was canceled.- Since:
- 100.9.0
-
DELETED
Subscription was deleted.- Since:
- 100.9.0
-
EXPIRED
Subscription has expired.- Since:
- 100.9.0
-
RESTRICTED
Subscription has run out of credits.- Since:
- 100.9.0
-
SUSPENDED
Subscription was suspended.- Since:
- 100.9.0
-
UNKNOWN
Subscription state is unknown.- Since:
- 100.9.0
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
Returns a string representing the subscription state.- Overrides:
toString
in classEnum<SubscriptionInfo.State>
- Returns:
- a string representing the subscription state
- Since:
- 100.9.0
-