Sample.getSegment

Get the segment associated with sample

class Sample
getSegment
()

Return Value

Type: Segment

the segment of sample. The segment remains valid as long as sample is valid.