Package io.github.thoroldvix.api
Class TranscriptContent.Fragment
java.lang.Object
io.github.thoroldvix.api.TranscriptContent.Fragment
- Enclosing class:
TranscriptContent
Represents a single fragment of the transcript content.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Fragment
-
-
Method Details
-
getText
Retrieves the text of the fragment.- Returns:
- The text of the fragment as a
String
.
-
getStart
public double getStart()Retrieves the start time of the fragment in seconds.- Returns:
- The start time of the fragment as a
Double
.
-
getDur
public double getDur()Retrieves the duration of the fragment in seconds.- Returns:
- The duration of the fragment as a
Double
.
-
equals
-
hashCode
public int hashCode() -
toString
-