Interface CaptionSelector.Builder

  • Method Details

    • languageCode

      CaptionSelector.Builder languageCode(String languageCode)
      When specified this field indicates the three letter language code of the caption track to extract from the source.
      Parameters:
      languageCode - When specified this field indicates the three letter language code of the caption track to extract from the source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      Name identifier for a caption selector. This name is used to associate this caption selector with one or more caption descriptions. Names must be unique within an event.
      Parameters:
      name - Name identifier for a caption selector. This name is used to associate this caption selector with one or more caption descriptions. Names must be unique within an event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • selectorSettings

      CaptionSelector.Builder selectorSettings(CaptionSelectorSettings selectorSettings)
      Caption selector settings.
      Parameters:
      selectorSettings - Caption selector settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • selectorSettings

      default CaptionSelector.Builder selectorSettings(Consumer<CaptionSelectorSettings.Builder> selectorSettings)
      Caption selector settings. This is a convenience method that creates an instance of the CaptionSelectorSettings.Builder avoiding the need to create one manually via CaptionSelectorSettings.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to selectorSettings(CaptionSelectorSettings).

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