SYRoadElement Class Reference

Represents a road element on the road. More...

#import <SYRoutingRoadElement.h>

Inheritance diagram for SYRoadElement:
Collaboration diagram for SYRoadElement:

Instance Methods

(instancetype) - initWithSdkElement: [implementation]
 

Properties

SYDistance length
 The length of SYRoadElement in meters. More...
 
NSTimeInterval duration
 The duration of SYRoadElement in seconds based on average speed of the element. More...
 
SYDistance distance
 The distance from start of SYRoute in meters. More...
 
SYSpeed speedLimit
 The speed limit of SYRoadElement in kmh, or 0 if the information is not available. More...
 
SYRoadElementDirection direction
 Direction of SYRoadElement. More...
 
NSSet< NSNumber * > * attributes
 The colection of SYRoadElementAttribute. More...
 
SYCountryIso * country
 Represents country iso code. More...
 
NSString * uniqueId
 The unique identifier of SYRoadElement. More...
 
NSString * roadName
 The name of the road element, or an empty string if the data is not available. More...
 
SYGeoCoordinatefrom
 From coordinate. More...
 
SYGeoCoordinateto
 To coordinate. More...
 
BOOL temporaryClosure
 Indicates that element will be temporary closed when we reach it. More...
 
Sygic::Router::RoadElementPtr sdkRoadElementPtr [implementation]
 

Detailed Description

Represents a road element on the road.

Method Documentation

◆ initWithSdkElement:()

- (instancetype) initWithSdkElement: (Sygic::Router::RoadElementPtr)  ptrElement
implementation

Property Documentation

◆ attributes

- (NSSet<NSNumber*>*) attributes
readnonatomicassign

The colection of SYRoadElementAttribute.

◆ country

- (SYCountryIso*) country
readnonatomicassign

Represents country iso code.

◆ direction

- (SYRoadElementDirection) direction
readnonatomicassign

Direction of SYRoadElement.

◆ distance

- (SYDistance) distance
readnonatomicassign

The distance from start of SYRoute in meters.

◆ duration

- (NSTimeInterval) duration
readnonatomicassign

The duration of SYRoadElement in seconds based on average speed of the element.

◆ from

- (SYGeoCoordinate*) from
readnonatomicassign

From coordinate.

◆ length

- (SYDistance) length
readnonatomicassign

The length of SYRoadElement in meters.

◆ roadName

- (NSString*) roadName
readnonatomicassign

The name of the road element, or an empty string if the data is not available.

◆ sdkRoadElementPtr

- Router:
readwritenonatomicassignimplementation

◆ speedLimit

- (SYSpeed) speedLimit
readnonatomicassign

The speed limit of SYRoadElement in kmh, or 0 if the information is not available.

◆ temporaryClosure

- (BOOL) temporaryClosure
readnonatomicassign

Indicates that element will be temporary closed when we reach it.

◆ to

- (SYGeoCoordinate*) to
readnonatomicassign

To coordinate.

◆ uniqueId

- (NSString*) uniqueId
readnonatomicassign

The unique identifier of SYRoadElement.


The documentation for this class was generated from the following file: