-
Creates the instance with the specified properties.
Throws
An error of the typeInitializationError.Declaration
Swift
public init( name: TextWithPhonetics?, numbers: [TextWithPhonetics], shields: [TomTomSDKCommon.RoadShield], types: Set<RoadType> = [] ) throwsParameters
nameName of the road.
numbersRoad numbers.
shieldsRoad shields.
typesRoad types.
-
Name of the road.
Declaration
Swift
public let name: TextWithPhonetics? -
Road numbers.
Declaration
Swift
public let numbers: [TextWithPhonetics] -
Represents road shields, a sign used to indicate the route number and the road’s classification.
Declaration
Swift
public let shields: [TomTomSDKCommon.RoadShield] -
Road types.
Declaration
Swift
public let types: Set<RoadType>
-
An error that occurs during the creation of the instance.
See moreDeclaration
Swift
public enum InitializationError : Error
TomTom SDK for iOS (0.71.1)
Road