Class DetectedProperties

    • Method Detail

      • width

        public final Integer width()

        The detected width of the input file, in pixels.

        Returns:
        The detected width of the input file, in pixels.
      • height

        public final Integer height()

        The detected height of the input file, in pixels.

        Returns:
        The detected height of the input file, in pixels.
      • frameRate

        public final String frameRate()

        The detected frame rate of the input file, in frames per second.

        Returns:
        The detected frame rate of the input file, in frames per second.
      • fileSize

        public final Long fileSize()

        The detected file size of the input file, in bytes.

        Returns:
        The detected file size of the input file, in bytes.
      • durationMillis

        public final Long durationMillis()

        The detected duration of the input file, in milliseconds.

        Returns:
        The detected duration of the input file, in milliseconds.
      • 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)