MMKNavigationWindshield
class MMKNavigationWindshield : NSObject |
Undocumented
Summary
Instance methods
func addListener(with windshieldListener: MMKNavigationWindshieldListener) |
func removeListener(with windshieldListener: MMKNavigationWindshieldListener) |
Properties
var manoeuvres: [MMKNavigationUpcomingManoeuvre] { get } |
var roadEvents: [MMKNavigationUpcomingRoadEvent] { get } |
var laneSigns: [MMKNavigationUpcomingLaneSign] { get } |
var directionSigns: [MMKNavigationUpcomingDirectionSign] { get } |
var isValid: Bool { get } |
Instance methods
addListener(with:)
func addListener(with windshieldListener: MMKNavigationWindshieldListener) |
The class does not retain the object in the 'windshieldListener' parameter. It is your responsibility to maintain a strong reference to the target object while it is attached to a class.
removeListener(with:)
func removeListener(with windshieldListener: MMKNavigationWindshieldListener) |
Undocumented
Properties
manoeuvres
var manoeuvres: [MMKNavigationUpcomingManoeuvre] { get } |
Vector with next manoeuvres. Contains several items only if they are close to each other.
roadEvents
var roadEvents: [MMKNavigationUpcomingRoadEvent] { get } |
Vector with all road events between current position and the next manoeuvre. Sorted by distance.
laneSigns
var laneSigns: [MMKNavigationUpcomingLaneSign] { get } |
Vector with all lane signs between current position and the last manoeuvre from the manoeuvres vector. Sorted by distance.
directionSigns
var directionSigns: [MMKNavigationUpcomingDirectionSign] { get } |
Vector with all direction signs between current position and the last manoeuvre from the manoeuvres vector. Sorted by distance.
isValid
var isValid: Bool { get } |
Tells if this object is valid or no. Any method called on an invalid object will throw an exception. The object becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.