Class HlsCaptionLanguageMapping

    • Method Detail

      • captionChannel

        public final Integer captionChannel()
        Caption channel.
        Returns:
        Caption channel.
      • customLanguageCode

        public final String customLanguageCode()
        Specify the language for this captions channel, using the ISO 639-2 or ISO 639-3 three-letter language code
        Returns:
        Specify the language for this captions channel, using the ISO 639-2 or ISO 639-3 three-letter language code
      • languageCode

        public final LanguageCode languageCode()
        Specify the language, using the ISO 639-2 three-letter code listed at https://www.loc.gov/standards/iso639-2/php/code_list.php.

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

        Returns:
        Specify the language, using the ISO 639-2 three-letter code listed at https://www.loc.gov/standards/iso639-2/php/code_list.php.
        See Also:
        LanguageCode
      • languageCodeAsString

        public final String languageCodeAsString()
        Specify the language, using the ISO 639-2 three-letter code listed at https://www.loc.gov/standards/iso639-2/php/code_list.php.

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

        Returns:
        Specify the language, using the ISO 639-2 three-letter code listed at https://www.loc.gov/standards/iso639-2/php/code_list.php.
        See Also:
        LanguageCode
      • languageDescription

        public final String languageDescription()
        Caption language description.
        Returns:
        Caption language description.
      • 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)