Instance Property

duration

The number of seconds it took for the user to say the word represented by the segment, measured from the start of the utterance.

Declaration

var duration: TimeInterval { get }

Discussion

This property contains the number of seconds it took for the user to say the word represented by the segment. For example, in the transcription "What time is it", if it took the user 0.6 seconds to say the word "time", the value of this property is set to 0.6.

See Also

Getting the Audio Timing Information

var timestamp: TimeInterval

The start time of the segment in the processed audio stream.