-
public final class ClosedCaptionsConfigConfiguration for managing closed captions in the ClosedCaptionManager.
-
-
Field Summary
Fields Modifier and Type Field Description private final LongcaptionsAutoDismissTimeprivate final BooleanautoDismissCaptionsprivate final IntegermaxCaptions
-
Constructor Summary
Constructors Constructor Description ClosedCaptionsConfig(Long captionsAutoDismissTime, Boolean autoDismissCaptions, Integer maxCaptions)
-
Method Summary
Modifier and Type Method Description final LonggetCaptionsAutoDismissTime()final BooleangetAutoDismissCaptions()final IntegergetMaxCaptions()-
-
Constructor Detail
-
ClosedCaptionsConfig
ClosedCaptionsConfig(Long captionsAutoDismissTime, Boolean autoDismissCaptions, Integer maxCaptions)
- Parameters:
captionsAutoDismissTime- The duration (in milliseconds) after which captions will be automatically removed.autoDismissCaptions- Determines whether closed captions should be automatically dismissed after a delay.maxCaptions- The maximum number of closed captions to retain in the ClosedCaptionManager.closedCaptions flow.
-
-
Method Detail
-
getCaptionsAutoDismissTime
final Long getCaptionsAutoDismissTime()
-
getAutoDismissCaptions
final Boolean getAutoDismissCaptions()
-
getMaxCaptions
final Integer getMaxCaptions()
-
-
-
-