-
- All Implemented Interfaces:
public interface TruckInfoProviderPublic 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.
-
-
Method Summary
Modifier and Type Method Description abstract UnitsetAxleProfile(AxleProfile axleProfile)Set the axle profile for the vehicle. abstract AxleProfilegetAxleProfile()Returns axle profile. abstract UnitsetHazardousMaterialTypes(List<HazardousMaterialType> hazardousMaterialTypes)Set hazardous material types for routing restrictions. abstract List<HazardousMaterialType>getHazardousMaterialTypes()Returns hazardous material types. abstract UnitsetTunnelRestrictionCode(TunnelRestrictionCode tunnelRestrictionCode)Set the tunnel restriction code for routing restrictions. abstract TunnelRestrictionCodegetTunnelRestrictionCode()Returns tunnel restriction code. abstract UnitsetTrailerCount(Integer count)Set the number of trailers attached to the vehicle. abstract IntegergetTrailerCount()Returns trailer count. abstract UnitsetTractorType(TractorType tractorType)Sets tractor type on this builder. abstract TractorTypegetTractorType()Returns tractor type. -
-
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.
-
getAxleProfile
abstract AxleProfile getAxleProfile()
Returns axle profile.
-
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.
-
getHazardousMaterialTypes
abstract List<HazardousMaterialType> getHazardousMaterialTypes()
Returns hazardous material types.
-
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.
-
getTunnelRestrictionCode
abstract TunnelRestrictionCode getTunnelRestrictionCode()
Returns tunnel restriction code.
-
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
-
getTractorType
abstract TractorType getTractorType()
Returns tractor type.
-
-
-
-