Class WeightRestriction

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

public final class WeightRestriction extends Object

Defines a weight restriction.

  • Field Details

    • valueInKilograms

      public int valueInKilograms

      The maximum allowed weight.

    • type

      @NonNull public WeightRestrictionType type

      The type of the weight restriction.

  • Constructor Details

    • WeightRestriction

      public WeightRestriction(int valueInKilograms, @NonNull WeightRestrictionType type)

      Creates a new instance.

      Parameters:
      valueInKilograms -

      The maximum allowed weight.

      type -

      The type of the weight restriction.

  • Method Details