MMKNavigationWindshield

@interface MMKNavigationWindshield : NSObject

Undocumented

Summary

Instance methods

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

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

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

Undocumented

Properties

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

Vector with next manoeuvres

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

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

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

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

@property (nonatomic, readonly, nonnull)
    NSArray<MMKNavigationUpcomingDirectionSign *> *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<MMKNavigationWindshieldListener>)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<MMKNavigationWindshieldListener>)windshieldListener;

Undocumented


Properties

manoeuvres

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

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


roadEvents

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

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


laneSigns

@property (nonatomic, readonly, nonnull)
    NSArray<MMKNavigationUpcomingLaneSign *> *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<MMKNavigationUpcomingDirectionSign *> *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.