RestrictionData
public struct RestrictionData : Equatable
Data corresponding to a single vehicle restriction.
-
Creates a single instance of the vehicle restriction data for a specific restriction type.
Declaration
Swift
public init( restriction: RestrictionType, violates: Bool )Parameters
restrictionRestriction to comply with such height, weight, length, width or a vehicle type.
violatesFlag to indicate if the current vehicle profile violates the vehicle restriction.
-
Flag to indicate if the current vehicle profile violates the vehicle restriction.
Declaration
Swift
public let violates: Bool -
RestrictionTypeto comply with.Declaration
Swift
public let restriction: RestrictionType
TomTom SDK for iOS (0.53.1)
RestrictionData