NMAManeuver
public extension NMAManeuver
Extension for NMAManeuver
.
-
Gets the current street. In case the current street is not found, the current signpost is used.
Declaration
Swift
@objc func getCurrentStreet() -> String?
Return Value
The current street name or nil when it is not available.
-
Gets the next street name. In case the next street is not found, the next maneuvers coming after are checked and when the next street is still not found, as a fallback, the maneuvers in the route are checked.
Declaration
Swift
@objc func getNextStreet(fallback route: NMARoute?) -> String?
Parameters
route
The route whose maneuvers will be checked as a fallback or nil when is not available.
Return Value
The next street name or nil when it is not available.
-
Gets the signpost exit number.
Declaration
Swift
@objc func getSignpostExitNumber() -> String?
Return Value
The exit number string from the signpost or nil when it is not available.
-
Returns a string from the maneuver’s signpost.
Declaration
Swift
@objc func getStringFromSignpost() -> String?
Return Value
The string from the maneuver signpost or nil when it is not available.
-
Gets the internal resource icon file name.
Declaration
Swift
@objc func getIconFileName() -> String?
Return Value
The icon name.