Navmii SDK
2.2.0
Write yourself a navigation system in iOS
|
Inherits <NSObject>.
Instance Methods | |
(nullable instancetype) | - NS_UNAVAILABLE |
(nullable instancetype) | - initWithType:roadFrom:roadTo:roundaboutAngle:roundaboutExitNumber:motorwayExitNumber:distanceFromPreviousDirection: |
(nullable instancetype) | - initWithType:roadFrom:roadTo: |
Class Methods | |
(nullable instancetype) | + NS_UNAVAILABLE |
Properties | |
NMDirectionType | type |
NMRoadInfo * | roadFrom |
NMRoadInfo * | roadTo |
NSNumber * | distanceFromPreviousDirection |
NSNumber * | roundaboutAngle |
NSNumber * | roundaboutExitNumber |
NSString * | motorwayExitNumber |
Interface describing a direction on route.
- (nullable instancetype) initWithType: | (NMDirectionType) | type | |
roadFrom: | (nonnull NMRoadInfo *) | roadFrom | |
roadTo: | (nonnull NMRoadInfo *) | roadTo | |
Initializes a direction object with the specified parameters.
type | Direction type; |
roadFrom | @nonnull Information on the road from which the direction is leading; |
roadTo | @nonnull Information on the road to which the direction is leading; |
- (nullable instancetype) initWithType: | (NMDirectionType) | type | |
roadFrom: | (nonnull NMRoadInfo *) | roadFrom | |
roadTo: | (nonnull NMRoadInfo *) | roadTo | |
roundaboutAngle: | (nullable NSNumber *) | roundaboutAngle | |
roundaboutExitNumber: | (nullable NSNumber *) | roundaboutExitNumber | |
motorwayExitNumber: | (nullable NSString *) | motorwayExitNumber | |
distanceFromPreviousDirection: | (nullable NSNumber *) | distanceFromPreviousDirection | |
Initializes a direction object with the specified parameters.
type | Direction type; |
roadFrom | @nonnull Information on the road from which the direction is leading; |
roadTo | @nonnull Information on the road to which the direction is leading; |
roundaboutAngle | Angle in degrees between roundabout point of entry and point of exit; |
roundaboutExitNumber | The number of a roundabout exit starting from roundabout entry; |
motorwayExitNumber | @nonnull The number or name of a motorway exit. |
- (nullable instancetype) NS_UNAVAILABLE |
Default initialization is forbidden.
+ (nullable instancetype) NS_UNAVAILABLE |
|
readnonatomicstrong |
Distance from the previous direction in meters.
|
readnonatomicstrong |
The number or name of a motorway exit.
|
readnonatomicstrong |
Information on the road from which the direction is leading.
|
readnonatomicstrong |
Information on the road to which the direction is leading.
|
readnonatomicstrong |
Angle in degrees between roundabout point of entry and point of exit.
|
readnonatomicstrong |
The number of a roundabout exit starting from roundabout entry.
|
readnonatomicassign |
Direction type.