PassThroughFeature (API Reference)
Enum Class PassThroughFeature
- All Implemented Interfaces:
Serializable,Comparable<PassThroughFeature>,Constable
Represents features that are allowed to consume online data when the HERE SDK's offline mode
is activated via SDKNativeEngine.isOfflineMode() and/or
SDKOptions.offlineMode.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWhen set, online routing can be performed by the HERE SDK, allowing the retrieval of up-to-date routing information from online services even when offline mode is enabled.When set, online search can be performed by the HERE SDK, allowing the retrieval of up-to-date search information from online services even when offline mode is enabled.When set, then theTrafficEngineis not blocked from initiating online connections to search for traffic data such as incidents.When set, then the correspondingMapFeaturewill not be blocked and online connections can be initiated by the HERE SDK to retrieve traffic flow data.When set, then the correspondingMapFeaturewill not be blocked and online connections can be initiated by the HERE SDK to retrieve traffic incident data. -
Method Summary
Modifier and TypeMethodDescriptionstatic PassThroughFeatureReturns the enum constant of this class with the specified name.static PassThroughFeature[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TRAFFIC_DATA
When set, then the
TrafficEngineis not blocked from initiating online connections to search for traffic data such as incidents. -
TRAFFIC_TILES_FLOW
When set, then the corresponding
MapFeaturewill not be blocked and online connections can be initiated by the HERE SDK to retrieve traffic flow data. -
TRAFFIC_TILES_INCIDENTS
When set, then the corresponding
MapFeaturewill not be blocked and online connections can be initiated by the HERE SDK to retrieve traffic incident data. -
ONLINE_ROUTING
When set, online routing can be performed by the HERE SDK, allowing the retrieval of up-to-date routing information from online services even when offline mode is enabled.
-
ONLINE_SEARCH
When set, online search can be performed by the HERE SDK, allowing the retrieval of up-to-date search information from online services even when offline mode is enabled.
-
-
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
-