Navmii SDK
2.2.0
Write yourself a navigation system in iOS
|
Inherits <NSObject>.
Instance Methods | |
(nullable instancetype) | - NS_UNAVAILABLE |
(nullable instancetype) | - initWithDistanceToDestination:timeToDestination:passedDistance: |
Class Methods | |
(nullable instancetype) | + NS_UNAVAILABLE |
Properties | |
NSInteger | distanceToDestinationInMeters |
NSInteger | timeToDestinationInSeconds |
NSInteger | passedDistanceInMeters |
Interface representing altering route position information.
- (nullable instancetype) initWithDistanceToDestination: | (NSInteger) | distanceToDestinationInMeters | |
timeToDestination: | (NSInteger) | timeToDestinationInSeconds | |
passedDistance: | (NSInteger) | passedDistanceInMeters | |
Initializes object with the specified parameters.
distanceToDestinationInMeters | Distance from the current position on route to destination in meters; |
timeToDestinationInSeconds | Estimated travel time from the current position on route to destination in seconds; |
passedDistanceInMeters | Distance from the route origin to the current position on route in meters. |
- (nullable instancetype) NS_UNAVAILABLE |
Default initialization is forbidden.
+ (nullable instancetype) NS_UNAVAILABLE |
|
readnonatomicassign |
Returns distance to destination from the current position on route in meters. Returns -1 if object is in uninitialized state.
|
readnonatomicassign |
Returns distance from the route origin to the current position on route in meters. Returns -1 if object is in uninitialized state.
|
readnonatomicassign |
Returns time to destination from the current position in seconds. Returns -1 if object is in uninitialized state.