AWSLocationTruckWeight

Objective-C

@interface AWSLocationTruckWeight

Swift

class AWSLocationTruckWeight

Contains details about the truck’s weight specifications. Used to avoid roads that can’t support or allow the total weight for requests that specify TravelMode as Truck.

  • The total weight of the truck.

    • For example, 3500.

    Declaration

    Objective-C

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

    Swift

    var total: NSNumber? { get set }
  • The unit of measurement to use for the truck weight.

    Default Value: Kilograms

    Declaration

    Objective-C

    @property (nonatomic) AWSLocationVehicleWeightUnit unit;

    Swift

    var unit: AWSLocationVehicleWeightUnit { get set }