VMMSWaypathFloorChangeSegment
Objective-C
@interface VMMSWaypathFloorChangeSegment : VMMSWaypathSegment
Swift
class VMMSWaypathFloorChangeSegment : VMMSWaypathSegment
Indicates a section of a waypath that is for a floor change
Since
1.1-
Create new instance of this objec
Declaration
Objective-C
- (nonnull instancetype) initWithWaypoint:(nonnull VMMSWaypoint *)start andWaypoint:(nonnull VMMSWaypoint *)end andOptions:(nonnull VMMSTurnByTurnDirectionOptions *)options;
Swift
init(waypoint start: VMMSWaypoint, andWaypoint end: VMMSWaypoint, andOptions options: VMMSTurnByTurnDirectionOptions)
Parameters
start
the starting waypoint for this segment
end
the ending waypoint for this segment
options
additional configuration options for this segment
Return Value
a new instance of this object
-
The floor # that this segment starts on
Declaration
Objective-C
@property (nonatomic, readonly) int startingFloor;
Swift
var startingFloor: Int32 { get }
-
The floor # that this segment ends on
Declaration
Objective-C
@property (nonatomic, readonly) int endingFloor;
Swift
var endingFloor: Int32 { get }
-
The floor # that this segment starts on
Since
1.2.2Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull startingFloorId;
Swift
var startingFloorId: String { get }
-
The floor # that this segment ends on
Since
1.2.2Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull endingFloorId;
Swift
var endingFloorId: String { get }
-
The type of segment change this is (either elevators, or stairwells, etc…)
Declaration
Objective-C
@property (nonatomic, readonly) int changeMethod;
Swift
var changeMethod: VMMSWaypathFloorChangeSegment! { get }