Interface TtmlDestinationSettings.Builder

  • Method Details

    • backgroundColor

      TtmlDestinationSettings.Builder backgroundColor(String backgroundColor)
      Specify the color of the rectangle behind the captions. If Style passthrough is set to enabled, leave blank or set to Auto to pass through the background color from your input captions. If Style passthrough is set to disabled, leave blank or set to Auto to use the default black.
      Parameters:
      backgroundColor - Specify the color of the rectangle behind the captions. If Style passthrough is set to enabled, leave blank or set to Auto to pass through the background color from your input captions. If Style passthrough is set to disabled, leave blank or set to Auto to use the default black.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • backgroundColor

      TtmlDestinationSettings.Builder backgroundColor(TtmlBackgroundColor backgroundColor)
      Specify the color of the rectangle behind the captions. If Style passthrough is set to enabled, leave blank or set to Auto to pass through the background color from your input captions. If Style passthrough is set to disabled, leave blank or set to Auto to use the default black.
      Parameters:
      backgroundColor - Specify the color of the rectangle behind the captions. If Style passthrough is set to enabled, leave blank or set to Auto to pass through the background color from your input captions. If Style passthrough is set to disabled, leave blank or set to Auto to use the default black.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • backgroundOpacity

      TtmlDestinationSettings.Builder backgroundOpacity(Integer backgroundOpacity)
      Specify the opacity of the background rectangle. Enter a value from 0 to 255, where 0 is transparent and 255 is opaque. If Style passthrough is set to enabled, leave blank to pass through the background style information in your input captions to your output captions. If Style passthrough is set to disabled and backgroundColor is set, leave blank to use a value of 255 (opaque).
      Parameters:
      backgroundOpacity - Specify the opacity of the background rectangle. Enter a value from 0 to 255, where 0 is transparent and 255 is opaque. If Style passthrough is set to enabled, leave blank to pass through the background style information in your input captions to your output captions. If Style passthrough is set to disabled and backgroundColor is set, leave blank to use a value of 255 (opaque).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fontColor

      Specify the color of the captions text. If Style passthrough is set to enabled, leave blank or set to Auto to pass through the font color from your input captions. If Style passthrough is set to disabled, leave blank or set to Auto to use the default white.
      Parameters:
      fontColor - Specify the color of the captions text. If Style passthrough is set to enabled, leave blank or set to Auto to pass through the font color from your input captions. If Style passthrough is set to disabled, leave blank or set to Auto to use the default white.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • fontColor

      Specify the color of the captions text. If Style passthrough is set to enabled, leave blank or set to Auto to pass through the font color from your input captions. If Style passthrough is set to disabled, leave blank or set to Auto to use the default white.
      Parameters:
      fontColor - Specify the color of the captions text. If Style passthrough is set to enabled, leave blank or set to Auto to pass through the font color from your input captions. If Style passthrough is set to disabled, leave blank or set to Auto to use the default white.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • fontOpacity

      TtmlDestinationSettings.Builder fontOpacity(Integer fontOpacity)
      Specify the opacity of the captions. Enter a value from 0 to 255, where 0 is transparent and 255 is opaque. If Style passthrough is set to enabled, leave blank to pass through the font opacity information in your input captions to your output captions. If Style passthrough is set to disabled and fontColor is set, leave blank to use a value of 255 (opaque).
      Parameters:
      fontOpacity - Specify the opacity of the captions. Enter a value from 0 to 255, where 0 is transparent and 255 is opaque. If Style passthrough is set to enabled, leave blank to pass through the font opacity information in your input captions to your output captions. If Style passthrough is set to disabled and fontColor is set, leave blank to use a value of 255 (opaque).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fontSize

      Specify the Font size in pixels. Must be a positive integer. Set to 0, or leave blank, for automatic font size.
      Parameters:
      fontSize - Specify the Font size in pixels. Must be a positive integer. Set to 0, or leave blank, for automatic font size.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fontStyle

      Specify the font style of the caption text. If Style passthrough is set to enabled, leave blank to pass through the font style from your input captions. If Style passthrough is set to disabled, leave blank to use the default normal style.
      Parameters:
      fontStyle - Specify the font style of the caption text. If Style passthrough is set to enabled, leave blank to pass through the font style from your input captions. If Style passthrough is set to disabled, leave blank to use the default normal style.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • fontStyle

      Specify the font style of the caption text. If Style passthrough is set to enabled, leave blank to pass through the font style from your input captions. If Style passthrough is set to disabled, leave blank to use the default normal style.
      Parameters:
      fontStyle - Specify the font style of the caption text. If Style passthrough is set to enabled, leave blank to pass through the font style from your input captions. If Style passthrough is set to disabled, leave blank to use the default normal style.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • fontWeight

      TtmlDestinationSettings.Builder fontWeight(String fontWeight)
      Specify the font weight of the caption text. If Style passthrough is set to enabled, leave blank to pass through the font weight from your input captions. If Style passthrough is set to disabled, leave blank to use the default normal weight.
      Parameters:
      fontWeight - Specify the font weight of the caption text. If Style passthrough is set to enabled, leave blank to pass through the font weight from your input captions. If Style passthrough is set to disabled, leave blank to use the default normal weight.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • fontWeight

      Specify the font weight of the caption text. If Style passthrough is set to enabled, leave blank to pass through the font weight from your input captions. If Style passthrough is set to disabled, leave blank to use the default normal weight.
      Parameters:
      fontWeight - Specify the font weight of the caption text. If Style passthrough is set to enabled, leave blank to pass through the font weight from your input captions. If Style passthrough is set to disabled, leave blank to use the default normal weight.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stylePassthrough

      TtmlDestinationSettings.Builder stylePassthrough(String stylePassthrough)
      Pass through style and position information from a TTML-like input source (TTML, IMSC, SMPTE-TT) to the TTML output.
      Parameters:
      stylePassthrough - Pass through style and position information from a TTML-like input source (TTML, IMSC, SMPTE-TT) to the TTML output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stylePassthrough

      TtmlDestinationSettings.Builder stylePassthrough(TtmlStylePassthrough stylePassthrough)
      Pass through style and position information from a TTML-like input source (TTML, IMSC, SMPTE-TT) to the TTML output.
      Parameters:
      stylePassthrough - Pass through style and position information from a TTML-like input source (TTML, IMSC, SMPTE-TT) to the TTML output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • textDecoration

      TtmlDestinationSettings.Builder textDecoration(String textDecoration)
      Specify the text decoration of the caption text. If Style passthrough is set to enabled, leave blank to pass through the text decoration from your input captions. If Style passthrough is set to disabled, leave blank to use the default of none.
      Parameters:
      textDecoration - Specify the text decoration of the caption text. If Style passthrough is set to enabled, leave blank to pass through the text decoration from your input captions. If Style passthrough is set to disabled, leave blank to use the default of none.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • textDecoration

      TtmlDestinationSettings.Builder textDecoration(TtmlTextDecoration textDecoration)
      Specify the text decoration of the caption text. If Style passthrough is set to enabled, leave blank to pass through the text decoration from your input captions. If Style passthrough is set to disabled, leave blank to use the default of none.
      Parameters:
      textDecoration - Specify the text decoration of the caption text. If Style passthrough is set to enabled, leave blank to pass through the text decoration from your input captions. If Style passthrough is set to disabled, leave blank to use the default of none.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: