Package 

Interface TruckInfoProvider

  • All Implemented Interfaces:

    
    public interface TruckInfoProvider
    
                        

    Public API for truck info provider.

    Obtain instances from the corresponding service factory after SDK initialization. Threading, lifecycle, and error handling are described on individual methods.

    • Constructor Detail

    • Method Detail

      • setAxleProfile

         abstract Unit setAxleProfile(AxleProfile axleProfile)

        Set the axle profile for the vehicle.

        Once navigation has started, changing the TruckInfoProvider will not affect the navigation behavior. To apply changes, please stop the navigation and then start it again.

        Parameters:
        axleProfile - The axle profile to set.
      • setHazardousMaterialTypes

         abstract Unit setHazardousMaterialTypes(List<HazardousMaterialType> hazardousMaterialTypes)

        Set hazardous material types for routing restrictions.

        Once navigation has started, changing the TruckInfoProvider will not affect the navigation behavior. To apply changes, please stop the navigation and then start it again.

        Parameters:
        hazardousMaterialTypes - List of hazardous material types defining routing restrictions.
      • setTunnelRestrictionCode

         abstract Unit setTunnelRestrictionCode(TunnelRestrictionCode tunnelRestrictionCode)

        Set the tunnel restriction code for routing restrictions.

        Once navigation has started, changing the TruckInfoProvider will not affect the navigation behavior. To apply changes, please stop the navigation and then start it again

        Parameters:
        tunnelRestrictionCode - The tunnel restriction code defining routing restrictions.
      • setTrailerCount

         abstract Unit setTrailerCount(Integer count)

        Set the number of trailers attached to the vehicle.

        Once navigation has started, changing the TruckInfoProvider will not affect the navigation behavior. To apply changes, please stop the navigation and then start it again

        Parameters:
        count - The number of trailers to set.
      • getTrailerCount

         abstract Integer getTrailerCount()

        Returns trailer count.

      • setTractorType

         abstract Unit setTractorType(TractorType tractorType)

        Sets tractor type on this builder.

        Parameters:
        tractorType - tractor type