Package com.mapfactor.sdk
Enum Class MpfcEngine.InitResult
- All Implemented Interfaces:
Serializable
,Comparable<MpfcEngine.InitResult>
,Constable
- Enclosing interface:
- MpfcEngine
MapFactor SDK initialization 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 ConstantDescriptionFailed because the device was not activatedFailed because map data provider is not licensed.Failed because SDK license has expired.Failed because the SDK is not licensed.Failed to initialize SDK base dataFailed to initialize native core libraryFailed to load native core libraryInitialization is in progressSuccessfully initialized -
Method Summary
Modifier and TypeMethodDescriptionstatic MpfcEngine.InitResult
Returns the enum constant of this class with the specified name.static MpfcEngine.InitResult[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_RESULT_YET
Initialization is in progress- Since:
- 1.0
-
SUCCESS
Successfully initialized- Since:
- 1.0
-
FAILED_TO_LOAD_CORE_LIBRARY
Failed to load native core library- Since:
- 1.0
-
FAILED_TO_INITIALIZE_BASE_DATA
Failed to initialize SDK base data- Since:
- 1.0
-
FAILED_TO_INITIALIZE_CORE_LIBRARIES
Failed to initialize native core library- Since:
- 1.0
-
FAILED_DEVICE_NOT_ACTIVATED
Failed because the device was not activated- Since:
- 1.0
-
FAILED_SDK_NOT_LICENSED
Failed because the SDK is not licensed. Contact seller to get the license.- Since:
- 1.0
-
FAILED_SDK_LICENSE_EXPIRED
Failed because SDK license has expired. Contact seller to get the license or you may re-initialize SDK with free map data provider (OSM).- Since:
- 1.0
-
FAILED_MAP_DATA_PROVIDER_NOT_LICENSED
Failed because map data provider is not licensed. Contact seller to get the license or you may re-initialize SDK with free map data provider (OSM).- 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
-