Record Class FFprobePacket

java.lang.Object
java.lang.Record
tv.hd3g.fflauncher.ffprobecontainer.FFprobePacket

public record FFprobePacket(FFprobeCodecType codecType, int streamIndex, long pts, float ptsTime, long dts, float dtsTime, int duration, float durationTime, int size, long pos, String flags) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    FFprobePacket(FFprobeCodecType codecType, int streamIndex, long pts, float ptsTime, long dts, float dtsTime, int duration, float durationTime, int size, long pos, String flags)
    Creates an instance of a FFprobePacket record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of the codecType record component.
    long
    dts()
    Returns the value of the dts record component.
    float
    Returns the value of the dtsTime record component.
    int
    Returns the value of the duration record component.
    float
    Returns the value of the durationTime record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    Returns the value of the flags record component.
    final int
    Returns a hash code value for this object.
    long
    pos()
    Returns the value of the pos record component.
    long
    pts()
    Returns the value of the pts record component.
    float
    Returns the value of the ptsTime record component.
    int
    Returns the value of the size record component.
    int
    Returns the value of the streamIndex record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • FFprobePacket

      public FFprobePacket(FFprobeCodecType codecType, int streamIndex, long pts, float ptsTime, long dts, float dtsTime, int duration, float durationTime, int size, long pos, String flags)
      Creates an instance of a FFprobePacket record class.
      Parameters:
      codecType - the value for the codecType record component
      streamIndex - the value for the streamIndex record component
      pts - the value for the pts record component
      ptsTime - the value for the ptsTime record component
      dts - the value for the dts record component
      dtsTime - the value for the dtsTime record component
      duration - the value for the duration record component
      durationTime - the value for the durationTime record component
      size - the value for the size record component
      pos - the value for the pos record component
      flags - the value for the flags record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • codecType

      public FFprobeCodecType codecType()
      Returns the value of the codecType record component.
      Returns:
      the value of the codecType record component
    • streamIndex

      public int streamIndex()
      Returns the value of the streamIndex record component.
      Returns:
      the value of the streamIndex record component
    • pts

      public long pts()
      Returns the value of the pts record component.
      Returns:
      the value of the pts record component
    • ptsTime

      public float ptsTime()
      Returns the value of the ptsTime record component.
      Returns:
      the value of the ptsTime record component
    • dts

      public long dts()
      Returns the value of the dts record component.
      Returns:
      the value of the dts record component
    • dtsTime

      public float dtsTime()
      Returns the value of the dtsTime record component.
      Returns:
      the value of the dtsTime record component
    • duration

      public int duration()
      Returns the value of the duration record component.
      Returns:
      the value of the duration record component
    • durationTime

      public float durationTime()
      Returns the value of the durationTime record component.
      Returns:
      the value of the durationTime record component
    • size

      public int size()
      Returns the value of the size record component.
      Returns:
      the value of the size record component
    • pos

      public long pos()
      Returns the value of the pos record component.
      Returns:
      the value of the pos record component
    • flags

      public String flags()
      Returns the value of the flags record component.
      Returns:
      the value of the flags record component