public static interface CaptionDescriptionPreset.Builder extends SdkPojo, CopyableBuilder<CaptionDescriptionPreset.Builder,CaptionDescriptionPreset>
Modifier and Type | Method and Description |
---|---|
CaptionDescriptionPreset.Builder |
customLanguageCode(String customLanguageCode)
Indicates the language of the caption output track, using the ISO 639-2 or ISO 639-3 three-letter language
code.
|
CaptionDescriptionPreset.Builder |
destinationSettings(CaptionDestinationSettings destinationSettings)
Specific settings required by destination type.
|
default CaptionDescriptionPreset.Builder |
destinationSettings(Consumer<CaptionDestinationSettings.Builder> destinationSettings)
Specific settings required by destination type.
|
CaptionDescriptionPreset.Builder |
languageCode(LanguageCode languageCode)
Specify the language of this captions output track.
|
CaptionDescriptionPreset.Builder |
languageCode(String languageCode)
Specify the language of this captions output track.
|
CaptionDescriptionPreset.Builder |
languageDescription(String languageDescription)
Human readable information to indicate captions available for players (eg.
|
copy
applyMutation, build
CaptionDescriptionPreset.Builder customLanguageCode(String customLanguageCode)
customLanguageCode
- Indicates the language of the caption output track, using the ISO 639-2 or ISO 639-3 three-letter
language code. For most captions output formats, the encoder puts this language information in the
output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this
language information to choose the font language for rendering the captions text.CaptionDescriptionPreset.Builder destinationSettings(CaptionDestinationSettings destinationSettings)
destinationSettings
- Specific settings required by destination type. Note that burnin_destination_settings are not
available if the source of the caption data is Embedded or Teletext.default CaptionDescriptionPreset.Builder destinationSettings(Consumer<CaptionDestinationSettings.Builder> destinationSettings)
CaptionDestinationSettings.Builder
avoiding the need to create one manually via
CaptionDestinationSettings.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to destinationSettings(CaptionDestinationSettings)
.destinationSettings
- a consumer that will call methods on CaptionDestinationSettings.Builder
destinationSettings(CaptionDestinationSettings)
CaptionDescriptionPreset.Builder languageCode(String languageCode)
languageCode
- Specify the language of this captions output track. For most captions output formats, the encoder puts
this language information in the output captions metadata. If your output captions format is DVB-Sub
or Burn in, the encoder uses this language information to choose the font language for rendering the
captions text.LanguageCode
,
LanguageCode
CaptionDescriptionPreset.Builder languageCode(LanguageCode languageCode)
languageCode
- Specify the language of this captions output track. For most captions output formats, the encoder puts
this language information in the output captions metadata. If your output captions format is DVB-Sub
or Burn in, the encoder uses this language information to choose the font language for rendering the
captions text.LanguageCode
,
LanguageCode
CaptionDescriptionPreset.Builder languageDescription(String languageDescription)
languageDescription
- Human readable information to indicate captions available for players (eg. English, or Spanish).
Alphanumeric characters, spaces, and underscore are legal.Copyright © 2019. All rights reserved.