Interface WebvttDestinationSettings.Builder

  • Method Details

    • styleControl

      WebvttDestinationSettings.Builder styleControl(String styleControl)
      Controls whether the color and position of the source captions is passed through to the WebVTT output captions. PASSTHROUGH - Valid only if the source captions are EMBEDDED, TELETEXT, or SMART SUBTITLES. NO_STYLE_DATA - Don't pass through the style. The output captions will not contain any font styling information. MANUAL - Applies the specified styling and positioning. All other styling and positioning is given default values.
      Parameters:
      styleControl - Controls whether the color and position of the source captions is passed through to the WebVTT output captions. PASSTHROUGH - Valid only if the source captions are EMBEDDED, TELETEXT, or SMART SUBTITLES. NO_STYLE_DATA - Don't pass through the style. The output captions will not contain any font styling information. MANUAL - Applies the specified styling and positioning. All other styling and positioning is given default values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • styleControl

      Controls whether the color and position of the source captions is passed through to the WebVTT output captions. PASSTHROUGH - Valid only if the source captions are EMBEDDED, TELETEXT, or SMART SUBTITLES. NO_STYLE_DATA - Don't pass through the style. The output captions will not contain any font styling information. MANUAL - Applies the specified styling and positioning. All other styling and positioning is given default values.
      Parameters:
      styleControl - Controls whether the color and position of the source captions is passed through to the WebVTT output captions. PASSTHROUGH - Valid only if the source captions are EMBEDDED, TELETEXT, or SMART SUBTITLES. NO_STYLE_DATA - Don't pass through the style. The output captions will not contain any font styling information. MANUAL - Applies the specified styling and positioning. All other styling and positioning is given default values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • position

      Specifies the position of the output captions. Applies only when styleControl is set to manual.
      Parameters:
      position - Specifies the position of the output captions. Applies only when styleControl is set to manual.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • position

      Specifies the position of the output captions. Applies only when styleControl is set to manual. This is a convenience method that creates an instance of the TextCaptionPositionSettings.Builder avoiding the need to create one manually via TextCaptionPositionSettings.builder().

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

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