Add javadoc to SubtitleParser.OutputOptions

PiperOrigin-RevId: 565066243
This commit is contained in:
ibaker 2023-09-13 09:01:42 -07:00 committed by Copybara-Service
parent f8b23da7af
commit 56fbf7377e

View File

@ -64,7 +64,16 @@ public interface SubtitleParser {
private static final OutputOptions ALL = private static final OutputOptions ALL =
new OutputOptions(C.TIME_UNSET, /* outputAllCues= */ false); new OutputOptions(C.TIME_UNSET, /* outputAllCues= */ false);
/**
* Cues after this time (inclusive) will be emitted first. Cues before this time might be
* emitted later, depending on {@link #outputAllCues}.
*/
public final long startTimeUs; public final long startTimeUs;
/**
* Whether to eventually emit all cues, or only those after {@link #startTimeUs}. Ignored if
* {@link #startTimeUs} is not set.
*/
public final boolean outputAllCues; public final boolean outputAllCues;
private OutputOptions(long startTimeUs, boolean outputAllCues) { private OutputOptions(long startTimeUs, boolean outputAllCues) {