LocationEngineStatus (API Reference)
Package com.here.sdk.location
Enum Class LocationEngineStatus
- All Implemented Interfaces:
Serializable,Comparable<LocationEngineStatus>,Constable
Indicates the status of the LocationEngine.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTried to start LocationEngine that is already started.Authentication failed.LocationEngine successfully started.LocationEngine has been stopped.Location services are disabled in the system settings.Missing one or more user permissions.Request is not supported in current region.Engine is not ready for the requested action.Request is not supported.Requested operation succeeded.Method confirmHEREPrivacyNoticeInclusion() (or alternatively confirmHEREPrivacyNoticeException()) was not called before starting theLocationEngineor HERE privacy notice exception was not permitted.Start failed due to an internal error.User consent has not been handled yet. -
Method Summary
Modifier and TypeMethodDescriptionstatic LocationEngineStatusReturns the enum constant of this class with the specified name.static LocationEngineStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENGINE_STARTED
LocationEngine successfully started.
-
ALREADY_STARTED
Tried to start LocationEngine that is already started.
-
ENGINE_STOPPED
LocationEngine has been stopped.
-
START_FAILED
Start failed due to an internal error.
-
USER_CONSENT_NOT_HANDLED
User consent has not been handled yet.
-
MISSING_PERMISSIONS
Missing one or more user permissions.
-
AUTHENTICATION_FAILED
Authentication failed. Check your credentials.
-
NOT_SUPPORTED
Request is not supported.
-
NOT_ALLOWED
Request is not supported in current region.
-
NOT_READY
Engine is not ready for the requested action.
-
LOCATION_SERVICES_DISABLED
Location services are disabled in the system settings.
-
PRIVACY_NOTICE_UNCONFIRMED
Method confirmHEREPrivacyNoticeInclusion() (or alternatively confirmHEREPrivacyNoticeException()) was not called before starting the
LocationEngineor HERE privacy notice exception was not permitted. -
OK
Requested operation succeeded.
-
-
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
-