Enum PassThroughFeature

  • java.lang.Object
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<PassThroughFeature>

    public enum PassThroughFeature
    extends java.lang.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.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      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.
      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
      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
      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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static PassThroughFeature valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static PassThroughFeature[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

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

      • 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.

      • ONLINE_SEARCH

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

      • values

        public static PassThroughFeature[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PassThroughFeature c : PassThroughFeature.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PassThroughFeature valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null