Enum Class PassThroughFeature

java.lang.Object
java.lang.Enum<PassThroughFeature>
com.here.sdk.core.engine.PassThroughFeature
All Implemented Interfaces:
Serializable, Comparable<PassThroughFeature>, Constable

public enum PassThroughFeature extends Enum<PassThroughFeature>

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 Constants
    Enum Constant
    Description
    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.
    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 the TrafficEngine is not blocked from initiating online connections to search for traffic data such as incidents.
    When set, then the corresponding MapFeature will not be blocked and online connections can be initiated by the HERE SDK to retrieve traffic flow data.
    When set, then the corresponding MapFeature will not be blocked and online connections can be initiated by the HERE SDK to retrieve traffic incident data.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • TRAFFIC_DATA

      public static final PassThroughFeature TRAFFIC_DATA

      When set, then the TrafficEngine is not blocked from initiating online connections to search for traffic data such as incidents.

    • TRAFFIC_TILES_FLOW

      public static final PassThroughFeature TRAFFIC_TILES_FLOW

      When set, then the corresponding MapFeature will not be blocked and online connections can be initiated by the HERE SDK to retrieve traffic flow data.

    • TRAFFIC_TILES_INCIDENTS

      public static final PassThroughFeature TRAFFIC_TILES_INCIDENTS

      When set, then the corresponding MapFeature will not be blocked and online connections can be initiated by the HERE SDK to retrieve traffic incident data.

    • ONLINE_ROUTING

      public static final PassThroughFeature 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.

  • Method Details

    • values

      public static PassThroughFeature[] 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

      public static PassThroughFeature valueOf(String name)
      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 name
      NullPointerException - if the argument is null