Interface CaptionDescription.Builder

    • Method Detail

      • accessibility

        CaptionDescription.Builder accessibility​(String accessibility)
        Indicates whether the caption track implements accessibility features such as written descriptions of spoken dialog, music, and sounds. This signaling is added to HLS output group and MediaPackage output group.
        Parameters:
        accessibility - Indicates whether the caption track implements accessibility features such as written descriptions of spoken dialog, music, and sounds. This signaling is added to HLS output group and MediaPackage output group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AccessibilityType, AccessibilityType
      • accessibility

        CaptionDescription.Builder accessibility​(AccessibilityType accessibility)
        Indicates whether the caption track implements accessibility features such as written descriptions of spoken dialog, music, and sounds. This signaling is added to HLS output group and MediaPackage output group.
        Parameters:
        accessibility - Indicates whether the caption track implements accessibility features such as written descriptions of spoken dialog, music, and sounds. This signaling is added to HLS output group and MediaPackage output group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AccessibilityType, AccessibilityType
      • captionSelectorName

        CaptionDescription.Builder captionSelectorName​(String captionSelectorName)
        Specifies which input caption selector to use as a caption source when generating output captions. This field should match a captionSelector name.
        Parameters:
        captionSelectorName - Specifies which input caption selector to use as a caption source when generating output captions. This field should match a captionSelector name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinationSettings

        CaptionDescription.Builder destinationSettings​(CaptionDestinationSettings destinationSettings)
        Additional settings for captions destination that depend on the destination type.
        Parameters:
        destinationSettings - Additional settings for captions destination that depend on the destination type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • languageCode

        CaptionDescription.Builder languageCode​(String languageCode)
        ISO 639-2 three-digit code: http://www.loc.gov/standards/iso639-2/
        Parameters:
        languageCode - ISO 639-2 three-digit code: http://www.loc.gov/standards/iso639-2/
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • languageDescription

        CaptionDescription.Builder languageDescription​(String languageDescription)
        Human readable information to indicate captions available for players (eg. English, or Spanish).
        Parameters:
        languageDescription - Human readable information to indicate captions available for players (eg. English, or Spanish).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        CaptionDescription.Builder name​(String name)
        Name of the caption description. Used to associate a caption description with an output. Names must be unique within an event.
        Parameters:
        name - Name of the caption description. Used to associate a caption description with an output. Names must be unique within an event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.