Package io.github.thoroldvix.api
Interface TranscriptContent.Fragment
- Enclosing interface:
TranscriptContent
public static interface TranscriptContent.Fragment
Represents a single fragment of the transcript content.
-
Method Summary
-
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
.
-