Class Scte27SourceSettings

    • Method Detail

      • ocrLanguage

        public final Scte27OcrLanguage ocrLanguage()
        If you will configure a WebVTT caption description that references this caption selector, use this field to provide the language to consider when translating the image-based source to text.

        If the service returns an enum value that is not available in the current SDK version, ocrLanguage will return Scte27OcrLanguage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from ocrLanguageAsString().

        Returns:
        If you will configure a WebVTT caption description that references this caption selector, use this field to provide the language to consider when translating the image-based source to text.
        See Also:
        Scte27OcrLanguage
      • ocrLanguageAsString

        public final String ocrLanguageAsString()
        If you will configure a WebVTT caption description that references this caption selector, use this field to provide the language to consider when translating the image-based source to text.

        If the service returns an enum value that is not available in the current SDK version, ocrLanguage will return Scte27OcrLanguage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from ocrLanguageAsString().

        Returns:
        If you will configure a WebVTT caption description that references this caption selector, use this field to provide the language to consider when translating the image-based source to text.
        See Also:
        Scte27OcrLanguage
      • pid

        public final Integer pid()
        The pid field is used in conjunction with the caption selector languageCode field as follows: - Specify PID and Language: Extracts captions from that PID; the language is "informational". - Specify PID and omit Language: Extracts the specified PID. - Omit PID and specify Language: Extracts the specified language, whichever PID that happens to be. - Omit PID and omit Language: Valid only if source is DVB-Sub that is being passed through; all languages will be passed through.
        Returns:
        The pid field is used in conjunction with the caption selector languageCode field as follows: - Specify PID and Language: Extracts captions from that PID; the language is "informational". - Specify PID and omit Language: Extracts the specified PID. - Omit PID and specify Language: Extracts the specified language, whichever PID that happens to be. - Omit PID and omit Language: Valid only if source is DVB-Sub that is being passed through; all languages will be passed through.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)