• java.lang.Object
    • com.here.sdk.routing.CommonRouteOptions

  • public final class CommonRouteOptions
    extends java.lang.Object

    The options defines the common routing options. 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.

    • Field Detail

      • routeOptions

        @NonNull
        public RouteOptions routeOptions

        Specifies the common route calculation options.

      • textOptions

        @NonNull
        public RouteTextOptions textOptions

        Customize textual content returned from the route calculation, such as localization, format, and unit system.

      • avoidanceOptions

        @NonNull
        public AvoidanceOptions avoidanceOptions

        Options to specify restrictions for route calculations. By default no restrictions are applied.

      • allowOptions

        @NonNull
        public AllowOptions allowOptions

        The options explicitly allowed by user for route calculations. By default no options are opt in.

      • tollOptions

        @NonNull
        public TollOptions tollOptions

        Options to specify how the tolls should be calculated, such as transponders, vehicle category, and emission type. Note Not used for offline calculations.

    • Constructor Detail

      • CommonRouteOptions

        public CommonRouteOptions()

        Creates a new instance.

    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object