Warning

This feature is available in the Full MapKit SDK version

MMKDrivingVehicleOptions

@interface MMKDrivingVehicleOptions : NSObject

Undocumented

Summary

Class methods

+ (nonnull MMKDrivingVehicleOptions *)vehicleOptionsWithVehicleType:( MMKDrivingVehicleType)vehicleType
                                                             weight:(nullable NSNumber *)weight
                                                         axleWeight:(nullable NSNumber *)axleWeight
                                                          maxWeight:(nullable NSNumber *)maxWeight
                                                             height:(nullable NSNumber *)height
                                                              width:(nullable NSNumber *)width
                                                             length:(nullable NSNumber *)length
                                                            payload:(nullable NSNumber *)payload
                                                           ecoClass:(nullable NSNumber *)ecoClass
                                                         hasTrailer:(nullable NSNumber *)hasTrailer
                                                    buswayPermitted:(nullable NSNumber *)buswayPermitted;

Instance methods

- (nonnull MMKDrivingVehicleOptions *)init;

Properties

@property (nonatomic, assign, unsafe_unretained, readwrite)
    MMKDrivingVehicleType vehicleType;

Sets the vehicle type for special routing

@property (nonatomic, copy, readwrite, nullable) NSNumber *weight;
Real vehicle weight

@property (nonatomic, copy, readwrite, nullable) NSNumber *axleWeight;
Maximal weight supported by a vehicle axle

@property (nonatomic, copy, readwrite, nullable) NSNumber *maxWeight;
Maximal allowed weight for the vehicle

@property (nonatomic, copy, readwrite, nullable) NSNumber *height;
Vehicle height

@property (nonatomic, copy, readwrite, nullable) NSNumber *width;
Vehicle width

@property (nonatomic, copy, readwrite, nullable) NSNumber *length;
Vehicle length

@property (nonatomic, copy, readwrite, nullable) NSNumber *payload;
Vehicle cargo weight

@property (nonatomic, copy, readwrite, nullable) NSNumber *ecoClass;
Vehicle eco class

@property (nonatomic, copy, readwrite, nullable) NSNumber *hasTrailer;
The vehicle has a trailer attached

@property (nonatomic, copy, readwrite, nullable) NSNumber *buswayPermitted;
The vehicle is permitted for busway

Class methods

vehicleOptionsWithVehicleType:weight:axleWeight:maxWeight:height:width:length:payload:ecoClass:hasTrailer:buswayPermitted:

+ (nonnull MMKDrivingVehicleOptions *)vehicleOptionsWithVehicleType:( MMKDrivingVehicleType)vehicleType
                                                             weight:(nullable NSNumber *)weight
                                                         axleWeight:(nullable NSNumber *)axleWeight
                                                          maxWeight:(nullable NSNumber *)maxWeight
                                                             height:(nullable NSNumber *)height
                                                              width:(nullable NSNumber *)width
                                                             length:(nullable NSNumber *)length
                                                            payload:(nullable NSNumber *)payload
                                                           ecoClass:(nullable NSNumber *)ecoClass
                                                         hasTrailer:(nullable NSNumber *)hasTrailer
                                                    buswayPermitted:(nullable NSNumber *)buswayPermitted;


Instance methods

init

- (nonnull MMKDrivingVehicleOptions *)init;


Properties

vehicleType

@property (nonatomic, assign, unsafe_unretained, readwrite)
    MMKDrivingVehicleType vehicleType;

Sets the vehicle type for special routing.


weight

@property (nonatomic, copy, readwrite, nullable) NSNumber *weight;

Real vehicle weight.

Optional field, can be nil.


axleWeight

@property (nonatomic, copy, readwrite, nullable) NSNumber *axleWeight;

Maximal weight supported by a vehicle axle.

Optional field, can be nil.


maxWeight

@property (nonatomic, copy, readwrite, nullable) NSNumber *maxWeight;

Maximal allowed weight for the vehicle.

Optional field, can be nil.


height

@property (nonatomic, copy, readwrite, nullable) NSNumber *height;

Vehicle height.

Optional field, can be nil.


width

@property (nonatomic, copy, readwrite, nullable) NSNumber *width;

Vehicle width.

Optional field, can be nil.


length

@property (nonatomic, copy, readwrite, nullable) NSNumber *length;

Vehicle length.

Optional field, can be nil.


payload

@property (nonatomic, copy, readwrite, nullable) NSNumber *payload;

Vehicle cargo weight.

Optional field, can be nil.


ecoClass

@property (nonatomic, copy, readwrite, nullable) NSNumber *ecoClass;

Vehicle eco class.

Optional field, can be nil.


hasTrailer

@property (nonatomic, copy, readwrite, nullable) NSNumber *hasTrailer;

The vehicle has a trailer attached.

Optional field, can be nil.


buswayPermitted

@property (nonatomic, copy, readwrite, nullable) NSNumber *buswayPermitted;

The vehicle is permitted for busway.

Optional field, can be nil.