Class VideoSelector

    • Method Detail

      • colorSpace

        public final VideoSelectorColorSpace colorSpace()
        Specifies the color space of an input. This setting works in tandem with colorSpaceUsage and a video description's colorSpaceSettingsChoice to determine if any conversion will be performed.

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

        Returns:
        Specifies the color space of an input. This setting works in tandem with colorSpaceUsage and a video description's colorSpaceSettingsChoice to determine if any conversion will be performed.
        See Also:
        VideoSelectorColorSpace
      • colorSpaceAsString

        public final String colorSpaceAsString()
        Specifies the color space of an input. This setting works in tandem with colorSpaceUsage and a video description's colorSpaceSettingsChoice to determine if any conversion will be performed.

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

        Returns:
        Specifies the color space of an input. This setting works in tandem with colorSpaceUsage and a video description's colorSpaceSettingsChoice to determine if any conversion will be performed.
        See Also:
        VideoSelectorColorSpace
      • colorSpaceUsage

        public final VideoSelectorColorSpaceUsage colorSpaceUsage()
        Applies only if colorSpace is a value other than follow. This field controls how the value in the colorSpace field will be used. fallback means that when the input does include color space data, that data will be used, but when the input has no color space data, the value in colorSpace will be used. Choose fallback if your input is sometimes missing color space data, but when it does have color space data, that data is correct. force means to always use the value in colorSpace. Choose force if your input usually has no color space data or might have unreliable color space data.

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

        Returns:
        Applies only if colorSpace is a value other than follow. This field controls how the value in the colorSpace field will be used. fallback means that when the input does include color space data, that data will be used, but when the input has no color space data, the value in colorSpace will be used. Choose fallback if your input is sometimes missing color space data, but when it does have color space data, that data is correct. force means to always use the value in colorSpace. Choose force if your input usually has no color space data or might have unreliable color space data.
        See Also:
        VideoSelectorColorSpaceUsage
      • colorSpaceUsageAsString

        public final String colorSpaceUsageAsString()
        Applies only if colorSpace is a value other than follow. This field controls how the value in the colorSpace field will be used. fallback means that when the input does include color space data, that data will be used, but when the input has no color space data, the value in colorSpace will be used. Choose fallback if your input is sometimes missing color space data, but when it does have color space data, that data is correct. force means to always use the value in colorSpace. Choose force if your input usually has no color space data or might have unreliable color space data.

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

        Returns:
        Applies only if colorSpace is a value other than follow. This field controls how the value in the colorSpace field will be used. fallback means that when the input does include color space data, that data will be used, but when the input has no color space data, the value in colorSpace will be used. Choose fallback if your input is sometimes missing color space data, but when it does have color space data, that data is correct. force means to always use the value in colorSpace. Choose force if your input usually has no color space data or might have unreliable color space data.
        See Also:
        VideoSelectorColorSpaceUsage
      • selectorSettings

        public final VideoSelectorSettings selectorSettings()
        The video selector settings.
        Returns:
        The video selector settings.
      • 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)