Class DimensionRestriction

java.lang.Object
com.here.sdk.navigation.DimensionRestriction

public final class DimensionRestriction extends Object

Defines a dimension restriction.

  • Field Details

    • valueInCentimeters

      public int valueInCentimeters

      The maximum allowed dimension.

    • type

      @NonNull public DimensionRestrictionType type

      The type of the dimension restriction.

  • Constructor Details

    • DimensionRestriction

      public DimensionRestriction(int valueInCentimeters, @NonNull DimensionRestrictionType type)

      Creates a new instance.

      Parameters:
      valueInCentimeters -

      The maximum allowed dimension.

      type -

      The type of the dimension restriction.

  • Method Details