Interface TranscriptContent.Fragment

Enclosing interface:
TranscriptContent

public static interface TranscriptContent.Fragment
Represents a single fragment of the transcript content.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Retrieves the duration of the fragment in seconds.
    double
    Retrieves the start time of the fragment in seconds.
    Retrieves the text of the fragment.
  • Method Details

    • getText

      String getText()
      Retrieves the text of the fragment.
      Returns:
      The text of the fragment as a String.
    • getStart

      double getStart()
      Retrieves the start time of the fragment in seconds.
      Returns:
      The start time of the fragment as a Double.
    • getDur

      double getDur()
      Retrieves the duration of the fragment in seconds.
      Returns:
      The duration of the fragment as a Double.