Signpost
public struct Signpost
extension Signpost: Equatable
Contains information about the signpost for the GuidanceInstruction
.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates a signpost with the specified exit name, exit number and toward name.
Throws
If all properties are empty, the error
InitializationError.incorrectInputs
thrown.Declaration
Swift
public init( exitNumber: String, exitName: String, towardName: String ) throws
Parameters
exitName
Signpost exit name.
exitNumber
Signpost exit number.
towardName
Signpost toward name.
-
Signpost exit number.
Declaration
Swift
public let exitNumber: String
-
Signpost exit name.
Declaration
Swift
public let exitName: String
-
Signpost toward name.
Declaration
Swift
public let towardName: String
-
An error that occurs during the creation of the instance.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum InitializationError : Error