AWSLocationCalculateRouteTruckModeOptions

Objective-C

@interface AWSLocationCalculateRouteTruckModeOptions

Swift

class AWSLocationCalculateRouteTruckModeOptions

Contains details about additional route preferences for requests that specify TravelMode as Truck.

  • Avoids ferries when calculating routes.

    Default Value: false

    Valid Values: false | true

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable avoidFerries;

    Swift

    var avoidFerries: NSNumber? { get set }
  • Avoids tolls when calculating routes.

    Default Value: false

    Valid Values: false | true

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable avoidTolls;

    Swift

    var avoidTolls: NSNumber? { get set }
  • Specifies the truck’s dimension specifications including length, height, width, and unit of measurement. Used to avoid roads that can’t support the truck’s dimensions.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSLocationTruckDimensions *_Nullable dimensions;

    Swift

    var dimensions: AWSLocationTruckDimensions? { get set }
  • Specifies the truck’s weight specifications including total weight and unit of measurement. Used to avoid roads that can’t support the truck’s weight.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSLocationTruckWeight *_Nullable weight;

    Swift

    var weight: AWSLocationTruckWeight? { get set }