Interface TtmlDestinationSettings.Builder

  • Method Details

    • styleControl

      TtmlDestinationSettings.Builder styleControl(String styleControl)
      Controls the source of style and position information for the output captions. PASSTHROUGH - Preserve the style and position from the source captions. USE_CONFIGURED - Don't pass through the style. The output captions will use the default styling. MANUAL - Applies the specified styling and positioning. All other styling and positioning is given default values.
      Parameters:
      styleControl - Controls the source of style and position information for the output captions. PASSTHROUGH - Preserve the style and position from the source captions. USE_CONFIGURED - Don't pass through the style. The output captions will use the default styling. 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 the source of style and position information for the output captions. PASSTHROUGH - Preserve the style and position from the source captions. USE_CONFIGURED - Don't pass through the style. The output captions will use the default styling. MANUAL - Applies the specified styling and positioning. All other styling and positioning is given default values.
      Parameters:
      styleControl - Controls the source of style and position information for the output captions. PASSTHROUGH - Preserve the style and position from the source captions. USE_CONFIGURED - Don't pass through the style. The output captions will use the default styling. 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: