SITRouteSegment
Objective-C
@interface SITRouteSegment : NSObject <SITMapperProtocol>
Swift
class SITRouteSegment : NSObject, SITMapperProtocol
A continuous segment of a route that contains points of the same floor
-
Constructor
Declaration
Objective-C
- (instancetype _Nonnull) initWithFloorIdentifier:(NSString *_Nonnull)floorIdentifier withPoints:(NSArray<SITPoint *> *_Nonnull)points;
Swift
init(floorIdentifier: String, with points: [SITPoint])
Parameters
floorIdentifier
String containing the floor identifier for all of the points in this segment
points
Array containing all the points included in this segment
Return Value
Initialized instance of the “SITRouteSegment” object
-
An string containing the floor identifier for all of the points in this segment
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nonnull floorIdentifier;
Swift
var floorIdentifier: String { get set }