Interface TeletextSourceSettings.Builder

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

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

    • outputRectangle

      TeletextSourceSettings.Builder outputRectangle(CaptionRectangle outputRectangle)
      Optionally defines a region where TTML style captions will be displayed
      Parameters:
      outputRectangle - Optionally defines a region where TTML style captions will be displayed
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputRectangle

      default TeletextSourceSettings.Builder outputRectangle(Consumer<CaptionRectangle.Builder> outputRectangle)
      Optionally defines a region where TTML style captions will be displayed This is a convenience method that creates an instance of the CaptionRectangle.Builder avoiding the need to create one manually via CaptionRectangle.builder().

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

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

      TeletextSourceSettings.Builder pageNumber(String pageNumber)
      Specifies the teletext page number within the data stream from which to extract captions. Range of 0x100 (256) to 0x8FF (2303). Unused for passthrough. Should be specified as a hexadecimal string with no "0x" prefix.
      Parameters:
      pageNumber - Specifies the teletext page number within the data stream from which to extract captions. Range of 0x100 (256) to 0x8FF (2303). Unused for passthrough. Should be specified as a hexadecimal string with no "0x" prefix.
      Returns:
      Returns a reference to this object so that method calls can be chained together.