YMKNavigationWindshield

@interface YMKNavigationWindshield : NSObject

Undocumented

Summary

Instance methods

- (void)addListenerWithWindshieldListener:
    (nonnull id<YMKNavigationWindshieldListener>)windshieldListener;

The class does not retain the object in the 'windshieldListener' parameter

- (void)removeListenerWithWindshieldListener:
    (nonnull id<YMKNavigationWindshieldListener>)windshieldListener;

Undocumented

Properties

@property (nonatomic, readonly, nonnull)
    NSArray<YMKNavigationUpcomingManoeuvre *> *manoeuvres;

Vector with next manoeuvres

@property (nonatomic, readonly, nonnull)
    NSArray<YMKNavigationUpcomingRoadEvent *> *roadEvents;

Vector with all road events between current position and the next manoeuvre

@property (nonatomic, readonly, nonnull)
    NSArray<YMKNavigationUpcomingLaneSign *> *laneSigns;

Vector with all lane signs between current position and the last manoeuvre from the manoeuvres vector

@property (nonatomic, readonly, nonnull)
    NSArray<YMKNavigationUpcomingDirectionSign *> *directionSigns;

Vector with all direction signs between current position and the last manoeuvre from the manoeuvres vector

@property (nonatomic, readonly, getter=isValid) BOOL valid;
Tells if this object is valid or no

Instance methods

addListenerWithWindshieldListener:

- (void)addListenerWithWindshieldListener:
    (nonnull id<YMKNavigationWindshieldListener>)windshieldListener;

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.


removeListenerWithWindshieldListener:

- (void)removeListenerWithWindshieldListener:
    (nonnull id<YMKNavigationWindshieldListener>)windshieldListener;

Undocumented


Properties

manoeuvres

@property (nonatomic, readonly, nonnull)
    NSArray<YMKNavigationUpcomingManoeuvre *> *manoeuvres;

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


roadEvents

@property (nonatomic, readonly, nonnull)
    NSArray<YMKNavigationUpcomingRoadEvent *> *roadEvents;

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


laneSigns

@property (nonatomic, readonly, nonnull)
    NSArray<YMKNavigationUpcomingLaneSign *> *laneSigns;

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


directionSigns

@property (nonatomic, readonly, nonnull)
    NSArray<YMKNavigationUpcomingDirectionSign *> *directionSigns;

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


valid

@property (nonatomic, readonly, getter=isValid) BOOL valid;

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.