Enum Class RoutingEngineSource

java.lang.Object
java.lang.Enum<RoutingEngineSource>
com.here.sdk.routing.RoutingEngineSource
All Implemented Interfaces:
Serializable, Comparable<RoutingEngineSource>, Constable

public enum RoutingEngineSource extends Enum<RoutingEngineSource>

Identifies the routing engine that created a RouteHandle.

A route handle can only be consumed by the routing engine that created it. See RouteHandle.source.

  • Enum Constant Details

    • ONLINE

      public static final RoutingEngineSource ONLINE

      Handle created by the online RoutingEngine.

    • OFFLINE

      public static final RoutingEngineSource OFFLINE

      Handle created by the OfflineRoutingEngine.

  • Method Details

    • values

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