Class RouteTag

java.lang.Object
com.here.sdk.routing.RouteTag

public final class RouteTag extends Object

Uniquely identifies a route.

Route tags are generated locally using UUIDs. Use generate() to create a new unique route tag.

  • Field Details

    • value

      @NonNull public String value

      The raw tag string. Empty when default-constructed.

  • Constructor Details

    • RouteTag

      public RouteTag()

      Creates a new instance.

      Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change without a deprecation process.

  • Method Details

    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • generate

      @NonNull public static RouteTag generate()

      Generates a new unique route tag using a random UUID.

      Returns:

      A new unique route tag using a random UUID.