RestrictionData

public struct RestrictionData

Data corresponding to a single vehicle restriction.

Lifecycle

  • Creates a single instance of the vehicle restriction data for a specific restriction type.

    Declaration

    Swift

    public init(
        restriction: RestrictionType,
        violates: Bool
    )

    Parameters

    restriction

    Restriction to comply with such height, weight, length, width or a vehicle type.

    violates

    Flag to indicate if the current vehicle profile violates the vehicle restriction.

Public