RestrictionData
public struct RestrictionData : Equatable
                Data for a single dangerous goods restriction.
- 
                  
                  
Creates a single instance of the dangerous goods restriction data for a specific restriction type.
Declaration
Swift
public init( restriction: RestrictionType, violates: Bool )Parameters
restrictionRestriction to comply with such as hazardous load or ADR tunnel category.
violatesFlag to indicate if the current vehicle profile violates the restriction.
 
- 
                  
                  
Flag to indicate if the current vehicle profile violates the dangerous goods restriction.
Declaration
Swift
public let violates: Bool - 
                  
                  
RestrictionTypeto comply with.Declaration
Swift
public let restriction: RestrictionType 
        
 
          TomTom SDK for iOS (0.40.0)
        
          RestrictionData