Navmii SDK  2.2.0
Write yourself a navigation system in iOS
Instance Methods | Properties | List of all members
NMRoadInfo Class Reference

Inherits <NSObject>.

Instance Methods

(nullable instancetype) - initWithName:routeNumber:roadClass:usage:
 

Properties

NSString * name
 
NSString * routeNumber
 
NMRoadClass roadClass
 
NMRoadUsage usage
 

Detailed Description

Interface describing a road.

Method Documentation

◆ initWithName:routeNumber:roadClass:usage:()

- (nullable instancetype) initWithName: (nullable NSString *)  name
routeNumber: (nullable NSString *)  routeNumber
roadClass: (NMRoadClass roadClass
usage: (NMRoadUsage usage 

Initializes the object with the specified parameters.

Parameters
name@nonnull Road name if available or empty string otherwise;
routeNumber@nonnull Route number if available or empty string otherwise;
roadClassRoad class;
usageRoad usage.

Property Documentation

◆ name

- (NSString*) name
readnonatomicstrong

The name of the road if available or 'nil' otherwise.

◆ roadClass

- (NMRoadClass) roadClass
readnonatomicassign

The class of the road.

◆ routeNumber

- (NSString*) routeNumber
readnonatomicstrong

The route number assigned to the road if available or 'nil' otherwise.

◆ usage

- (NMRoadUsage) usage
readnonatomicassign

The usage of the road.