Class 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 Detail

      • SegmentToTranscribe

        public SegmentToTranscribe()
    • 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.