Navmii SDK
2.2.0
Write yourself a navigation system in iOS
|
Inherits <NSObject>.
Instance Methods | |
(nullable instancetype) | - NS_UNAVAILABLE |
(nullable instancetype) | - initWithDuration:routePoints: |
(nullable instancetype) | - initWithDuration:routePoints:mayContainSelfIntersections: |
(nullable instancetype) | - initWithDuration:durationIgnoringTrafficDelay:routePoints: |
(nullable instancetype) | - initWithDuration:durationIgnoringTrafficDelay:routePoints:mayContainSelfIntersections: |
Class Methods | |
(nullable instancetype) | + NS_UNAVAILABLE |
(nullable instancetype) | + routeWithDuration:routePoints: |
(nullable instancetype) | + routeWithDuration:routePoints:mayContainSelfIntersections: |
(nullable instancetype) | + routeWithDuration:durationIgnoringTrafficDelay:routePoints: |
(nullable instancetype) | + routeWithDuration:durationIgnoringTrafficDelay:routePoints:mayContainSelfIntersections: |
Properties | |
float | durationInSeconds |
float | durationIgnoringTrafficDelayInSeconds |
NSArray< NMExternalRoutePoint * > * | routePoints |
BOOL | mayContainSelfIntersections |
Interface representing an external route.
- (nullable instancetype) initWithDuration: | (float) | durationInSeconds | |
durationIgnoringTrafficDelay: | (float) | durationIgnoringTrafficDelayInSeconds | |
routePoints: | (nonnull NSArray< NMExternalRoutePoint * > *) | routePoints | |
Initializes a class instance with the specified duration, duration ignoring traffic delay and route points with no self-intersections.
durationInSeconds | The duration of the route, in seconds; |
durationIgnoringTrafficDelayInSeconds | The duration of the route ignoring traffic delay, in seconds; |
routePoints | @nonnull The list of route points. |
- (nullable instancetype) initWithDuration: | (float) | durationInSeconds | |
durationIgnoringTrafficDelay: | (float) | durationIgnoringTrafficDelayInSeconds | |
routePoints: | (nonnull NSArray< NMExternalRoutePoint * > *) | routePoints | |
mayContainSelfIntersections: | (BOOL) | mayContainSelfIntersections | |
Initializes a class instance with the specified duration, duration ignoring traffic delay and route points with or without self-intersections.
durationInSeconds | The duration of the route, in seconds; |
durationIgnoringTrafficDelayInSeconds | The duration of the route ignoring traffic delay, in seconds; |
routePoints | @nonnull The list of route points; |
mayContainSelfIntersections | Indicates whether @routePoints may contain self-intersections. |
- (nullable instancetype) initWithDuration: | (float) | durationInSeconds | |
routePoints: | (nonnull NSArray< NMExternalRoutePoint * > *) | routePoints | |
Initializes a class instance with the specified duration and route points with no self-intersection.
durationInSeconds | The duration of the route, in seconds; |
routePoints | @nonnull The list of route points. |
- (nullable instancetype) initWithDuration: | (float) | durationInSeconds | |
routePoints: | (nonnull NSArray< NMExternalRoutePoint * > *) | routePoints | |
mayContainSelfIntersections: | (BOOL) | mayContainSelfIntersections | |
Initializes a class instance with the specified duration and route points with or without self-intersections.
durationInSeconds | The duration of the route, in seconds; |
routePoints | @nonnull The list of route points; |
mayContainSelfIntersections | Indicates whether @routePoints may contain self-intersections. |
+ (nullable instancetype) NS_UNAVAILABLE |
Default initialization is forbidden.
- (nullable instancetype) NS_UNAVAILABLE |
Default initialization is forbidden.
+ (nullable instancetype) routeWithDuration: | (float) | durationInSeconds | |
durationIgnoringTrafficDelay: | (float) | durationIgnoringTrafficDelayInSeconds | |
routePoints: | (nonnull NSArray< NMExternalRoutePoint * > *) | routePoints | |
Creates a class instance with the specified duration, duration ignoring traffic delay and route points with no self-intersections.
durationInSeconds | The duration of the route, in seconds; |
routePoints | @nonnull The list of route points. |
+ (nullable instancetype) routeWithDuration: | (float) | durationInSeconds | |
durationIgnoringTrafficDelay: | (float) | durationIgnoringTrafficDelayInSeconds | |
routePoints: | (nonnull NSArray< NMExternalRoutePoint * > *) | routePoints | |
mayContainSelfIntersections: | (BOOL) | mayContainSelfIntersections | |
Creates a class instance with the specified duration, duration ignoring traffic delay and route points with or without self-intersections.
durationInSeconds | The duration of the route, in seconds; |
routePoints | @nonnull The list of route points; |
mayContainSelfIntersections | Indicates whether @routePoints may contain self-intersections. |
+ (nullable instancetype) routeWithDuration: | (float) | durationInSeconds | |
routePoints: | (nonnull NSArray< NMExternalRoutePoint * > *) | routePoints | |
Creates a class instance with the specified duration and route points with no self-intersections.
durationInSeconds | The duration of the route, in seconds; |
routePoints | @nonnull The list of route points. |
+ (nullable instancetype) routeWithDuration: | (float) | durationInSeconds | |
routePoints: | (nonnull NSArray< NMExternalRoutePoint * > *) | routePoints | |
mayContainSelfIntersections: | (BOOL) | mayContainSelfIntersections | |
Creates a class instance with the specified duration and route points with or without self-intersections.
durationInSeconds | The duration of the route, in seconds; |
routePoints | @nonnull The list of route points; |
mayContainSelfIntersections | Indicates whether @routePoints may contain self-intersections. |
|
readnonatomicassign |
Total route duration with no traffic delays, in seconds.
Default value is zero indicating duration ignoring traffic delay is not available.
|
readnonatomicassign |
Total route duration, in seconds.
|
readnonatomicassign |
Flag indicating whether @routePoints may contain self-intersections.
Default value is 'NO' indicating @routePoints array contains no self-intersections.
|
readnonatomicstrong |
An array of route points.