VMMSWaypathBuildingTransitionSegment
Objective-C
@interface VMMSWaypathBuildingTransitionSegment : VMMSWaypathSegment
Swift
class VMMSWaypathBuildingTransitionSegment : VMMSWaypathSegment
Segment of a waypath that represents transitioning from the inside of a building to the outside
Since
1.0-
Designated initializer
Declaration
Objective-C
- (nonnull instancetype) initWithWaypoint:(nonnull VMMSWaypoint *)start andWaypoint:(nonnull VMMSWaypoint *)end andDirection:(nonnull VMMSDirectionIndicator *)direction andOptions:(nonnull VMMSTurnByTurnDirectionOptions *)options;
Swift
init(waypoint start: VMMSWaypoint, andWaypoint end: VMMSWaypoint, andDirection direction: VMMSDirectionIndicator, andOptions options: VMMSTurnByTurnDirectionOptions)
Parameters
start
the starting waypoint in this segment
end
the ending waypoint in this segment
direction
the direciton of the segment
options
custom options for describing the segment
Return Value
a new instance of this object
-
The type of transtion (either entering the building, or leaving)
Declaration
Objective-C
@property (nonatomic) int transitionType;
Swift
var transitionType: Int32 { get set }