Interface CaptionSelector.Builder

All Superinterfaces:
Buildable, CopyableBuilder<CaptionSelector.Builder,CaptionSelector>, SdkBuilder<CaptionSelector.Builder,CaptionSelector>, SdkPojo
Enclosing class:
CaptionSelector

public static interface CaptionSelector.Builder extends SdkPojo, CopyableBuilder<CaptionSelector.Builder,CaptionSelector>
  • Method Details

    • customLanguageCode

      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. 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, 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.
      Parameters:
      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, 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • languageCode

      CaptionSelector.Builder languageCode(String 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, 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.
      Parameters:
      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, 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • languageCode

      CaptionSelector.Builder 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, 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.
      Parameters:
      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, 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourceSettings

      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. If your input captions are IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings.
      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceSettings

      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. If your input captions are IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings. This is a convenience method that creates an instance of the 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).

      Parameters:
      sourceSettings - a consumer that will call methods on CaptionSourceSettings.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: