Package com.mapfactor.sdk
Enum Class MpfcEngine.ActivationResult
- All Implemented Interfaces:
Serializable
,Comparable<MpfcEngine.ActivationResult>
,Constable
- Enclosing interface:
- MpfcEngine
Device activation result
- Since:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe device was already activated before - no change, all purchased features stays availableFailedCannot activate the device.Failed to complete device activation process - no Internet connectionThe device was successfully activated and has access to all purchased features now -
Method Summary
Modifier and TypeMethodDescriptionstatic MpfcEngine.ActivationResult
Returns the enum constant of this class with the specified name.static MpfcEngine.ActivationResult[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCEEDED
The device was successfully activated and has access to all purchased features now- Since:
- 1.0
-
ALREADY_ACTIVATED
The device was already activated before - no change, all purchased features stays available- Since:
- 1.0
-
FAILED_DEVICE_CANNOT_BE_ACTIVATED
Cannot activate the device. Product key does not enable any more activations.- Since:
- 1.0
-
FAILED_NO_INTERNET
Failed to complete device activation process - no Internet connection- Since:
- 1.0
-
FAILED
Failed- Since:
- 1.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
-