TKSegmentBuilder

Objective-C

@interface TKSegmentBuilder : NSObject

+ (nullable NSDictionary<NSString *, NSNumber *> *)_buildSegmentVisitsForSegment:(TKSegment *)segment;

+ (nullable NSString *)_tripSegmentModeTitleOfSegment:(TKSegment *)segment;
+ (nullable NSString *)_tripSegmentModeSubtitleOfSegment:(TKSegment *)segment;

+ (BOOL)_fillInTemplates:(NSMutableString *)string
              forSegment:(TKSegment *)segment
                 inTitle:(BOOL)title
           includingTime:(BOOL)includeTime
       includingPlatform:(BOOL)includePlatform;

+ (nullable NSString *)_buildPrimaryLocationStringForSegment:(TKSegment *)segment;

+ (NSString *)_buildSingleLineInstructionForSegment:(TKSegment *)segment
                                      includingTime:(BOOL)includeTime
                                  includingPlatform:(BOOL)includePlatform
                                    isTimeDependent:(BOOL *)isTimeDependent;

@end

Swift

class TKSegmentBuilder : NSObject

Undocumented