Class SegmentToTranscribe
- java.lang.Object
-
- ai.rev.speechtotext.models.asynchronous.SegmentToTranscribe
-
public class SegmentToTranscribe extends Object
A Segment object represents a segment of transcript that needs to be transcribed. Used for speech-to-text jobs submitted to be transcribed by a human.
-
-
Constructor Summary
Constructors Constructor Description SegmentToTranscribe()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoublegetEndTimestamp()Returns the end timestamp for the segment to transcribe.DoublegetStartTimestamp()Returns the starting timestamp of the segment to transcribe.voidsetEndTimestamp(Double endTimestamp)Sets the end timestamp for the segment to transcribe.voidsetStartTimestamp(Double startTimestamp)Sets the starting timestamp for the segment to transcribe.
-
-
-
Method Detail
-
getStartTimestamp
public Double getStartTimestamp()
Returns the starting timestamp of the segment to transcribe.- Returns:
- The starting timestamp of the segment.
-
setStartTimestamp
public void setStartTimestamp(Double startTimestamp)
Sets the starting timestamp for the segment to transcribe.- Parameters:
startTimestamp- The timestamp to set as the starting timestamp.
-
getEndTimestamp
public Double getEndTimestamp()
Returns the end timestamp for the segment to transcribe.- Returns:
- The end timestamp of the segment.
-
setEndTimestamp
public void setEndTimestamp(Double endTimestamp)
Sets the end timestamp for the segment to transcribe.- Parameters:
endTimestamp- The timestamp to set as the end timestamp.
-
-