Class HazardousMaterialRestriction

java.lang.Object
com.here.sdk.transport.HazardousMaterialRestriction

public final class HazardousMaterialRestriction extends Object

Represents restriction on transport of hazardous materials. A generic restriction, applying to any hazardous material, is encoded with empty member variables.

Note: This is a beta release of this feature. Related APIs may change for new releases without a deprecation process.

  • Field Details

    • hazardousMaterial

      @Nullable public HazardousMaterial hazardousMaterial

      Restricted hazardous material.

    • tunnelCategory

      @Nullable public TunnelCategory tunnelCategory

      Tunnel category to restrict transport of specific goods.

  • Constructor Details

    • HazardousMaterialRestriction

      public HazardousMaterialRestriction(@Nullable HazardousMaterial hazardousMaterial)

      Creates hazardous material restriction for specified material.

      Parameters:
      hazardousMaterial -

      Restricted hazardous material.

    • HazardousMaterialRestriction

      public HazardousMaterialRestriction(@Nullable TunnelCategory tunnelCategory)

      Creates hazardous material restriction for specified tunnel category.

      Parameters:
      tunnelCategory -

      Tunnel category to restrict transport of specific goods.

  • Method Details