Navmii SDK
2.2.0
Write yourself a navigation system in iOS
|
Inherits <NSObject>.
Instance Methods | |
(void) | - addTrafficNearPositionListener: |
(void) | - removeTrafficNearPositionListener: |
(nullable instancetype) | - NS_UNAVAILABLE |
Class Methods | |
(nullable instancetype) | + NS_UNAVAILABLE |
Properties | |
NMTrafficSnapshot * | trafficNearCurrentPosition |
Interface providing access to the latest traffic around the GPS coordinates.
- (void) addTrafficNearPositionListener: | (nonnull id< NMTrafficNearPositionListener >) | listener |
Adds listener to be notified about traffic updates.
listener | @nonnull Listener to add. |
+ (nullable instancetype) NS_UNAVAILABLE |
- (nullable instancetype) NS_UNAVAILABLE |
Default initialization is forbidden.
- (void) removeTrafficNearPositionListener: | (nonnull id< NMTrafficNearPositionListener >) | listener |
Removes listener to be notified about traffic updates.
listener | @nonnull Listener to remove. |
|
readnonatomiccopy |
Returns the latest traffic snapshot around the current GPS coordinates if available and 'nil' otherwise.