type

val type: SegmentType

Returns the type of the segment.