public static interface CaptionSelector.Builder extends SdkPojo, CopyableBuilder<CaptionSelector.Builder,CaptionSelector>
Modifier and Type | Method and Description |
---|---|
CaptionSelector.Builder |
customLanguageCode(String customLanguageCode)
The specific language to extract from source, using the ISO 639-2 or ISO 639-3 three-letter language code.
|
CaptionSelector.Builder |
languageCode(LanguageCode languageCode)
The specific language to extract from source.
|
CaptionSelector.Builder |
languageCode(String languageCode)
The specific language to extract from source.
|
CaptionSelector.Builder |
sourceSettings(CaptionSourceSettings sourceSettings)
If your input captions are SCC, TTML, STL, SMI, SRT, or IMSC in an xml file, specify the URI of the input
captions source file.
|
default CaptionSelector.Builder |
sourceSettings(Consumer<CaptionSourceSettings.Builder> sourceSettings)
If your input captions are SCC, TTML, STL, SMI, SRT, or IMSC in an xml file, specify the URI of the input
captions source file.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
CaptionSelector.Builder customLanguageCode(String customLanguageCode)
customLanguageCode
- The specific language to extract from source, using the ISO 639-2 or ISO 639-3 three-letter language
code. If input is SCTE-27, complete this field and/or PID to select the caption language to extract.
If input is DVB-Sub and output is Burn-in or SMPTE-TT, complete this field and/or PID to select the
caption language to extract. If input is DVB-Sub that is being passed through, omit this field (and
PID field); there is no way to extract a specific language with pass-through captions.CaptionSelector.Builder languageCode(String languageCode)
languageCode
- The specific language to extract from source. If input is SCTE-27, complete this field and/or PID to
select the caption language to extract. If input is DVB-Sub and output is Burn-in or SMPTE-TT,
complete this field and/or PID to select the caption language to extract. If input is DVB-Sub that is
being passed through, omit this field (and PID field); there is no way to extract a specific language
with pass-through captions.LanguageCode
,
LanguageCode
CaptionSelector.Builder languageCode(LanguageCode languageCode)
languageCode
- The specific language to extract from source. If input is SCTE-27, complete this field and/or PID to
select the caption language to extract. If input is DVB-Sub and output is Burn-in or SMPTE-TT,
complete this field and/or PID to select the caption language to extract. If input is DVB-Sub that is
being passed through, omit this field (and PID field); there is no way to extract a specific language
with pass-through captions.LanguageCode
,
LanguageCode
CaptionSelector.Builder sourceSettings(CaptionSourceSettings sourceSettings)
sourceSettings
- If your input captions are SCC, TTML, STL, SMI, SRT, or IMSC in an xml file, specify the URI of the
input captions source file. If your input captions are IMSC in an IMF package, use TrackSourceSettings
instead of FileSoureSettings.default CaptionSelector.Builder sourceSettings(Consumer<CaptionSourceSettings.Builder> sourceSettings)
CaptionSourceSettings.Builder
avoiding the need to create one manually via
CaptionSourceSettings.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to sourceSettings(CaptionSourceSettings)
.
sourceSettings
- a consumer that will call methods on CaptionSourceSettings.Builder
sourceSettings(CaptionSourceSettings)
Copyright © 2022. All rights reserved.