YMKNavigationWindshield

class YMKNavigationWindshield : NSObject

Undocumented

Summary

Instance methods

func addListener(with windshieldListener: YMKNavigationWindshieldListener)
The class does not retain the object in the 'windshieldListener' parameter

func removeListener(with windshieldListener: YMKNavigationWindshieldListener)
Undocumented

Properties

var manoeuvres: [YMKNavigationUpcomingManoeuvre] { get }
Vector with next manoeuvres

var roadEvents: [YMKNavigationUpcomingRoadEvent] { get }
Vector with all road events between current position and the next manoeuvre

var laneSigns: [YMKNavigationUpcomingLaneSign] { get }
Vector with all lane signs between current position and the last manoeuvre from the manoeuvres vector

var directionSigns: [YMKNavigationUpcomingDirectionSign] { get }
Vector with all direction signs between current position and the last manoeuvre from the manoeuvres vector

var isValid: Bool { get }
Tells if this object is valid or no

Instance methods

addListener(with:)

func addListener(with windshieldListener: YMKNavigationWindshieldListener)

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: YMKNavigationWindshieldListener)

Undocumented


Properties

manoeuvres

var manoeuvres: [YMKNavigationUpcomingManoeuvre] { get }

Vector with next manoeuvres. Contains several items only if they are close to each other.


roadEvents

var roadEvents: [YMKNavigationUpcomingRoadEvent] { get }

Vector with all road events between current position and the next manoeuvre. Sorted by distance.


laneSigns

var laneSigns: [YMKNavigationUpcomingLaneSign] { get }

Vector with all lane signs between current position and the last manoeuvre from the manoeuvres vector. Sorted by distance.


directionSigns

var directionSigns: [YMKNavigationUpcomingDirectionSign] { 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.


Предыдущая
Следующая