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
ConstructorsConstructorDescriptionFFprobePacket(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 aFFprobePacketrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecodecTyperecord component.longdts()Returns the value of thedtsrecord component.floatdtsTime()Returns the value of thedtsTimerecord component.intduration()Returns the value of thedurationrecord component.floatReturns the value of thedurationTimerecord component.final booleanIndicates whether some other object is "equal to" this one.flags()Returns the value of theflagsrecord component.final inthashCode()Returns a hash code value for this object.longpos()Returns the value of theposrecord component.longpts()Returns the value of theptsrecord component.floatptsTime()Returns the value of theptsTimerecord component.intsize()Returns the value of thesizerecord component.intReturns the value of thestreamIndexrecord component.final StringtoString()Returns a string representation of this record class.
-
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 aFFprobePacketrecord class.- Parameters:
codecType- the value for thecodecTyperecord componentstreamIndex- the value for thestreamIndexrecord componentpts- the value for theptsrecord componentptsTime- the value for theptsTimerecord componentdts- the value for thedtsrecord componentdtsTime- the value for thedtsTimerecord componentduration- the value for thedurationrecord componentdurationTime- the value for thedurationTimerecord componentsize- the value for thesizerecord componentpos- the value for theposrecord componentflags- the value for theflagsrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
codecType
Returns the value of thecodecTyperecord component.- Returns:
- the value of the
codecTyperecord component
-
streamIndex
public int streamIndex()Returns the value of thestreamIndexrecord component.- Returns:
- the value of the
streamIndexrecord component
-
pts
public long pts()Returns the value of theptsrecord component.- Returns:
- the value of the
ptsrecord component
-
ptsTime
public float ptsTime()Returns the value of theptsTimerecord component.- Returns:
- the value of the
ptsTimerecord component
-
dts
public long dts()Returns the value of thedtsrecord component.- Returns:
- the value of the
dtsrecord component
-
dtsTime
public float dtsTime()Returns the value of thedtsTimerecord component.- Returns:
- the value of the
dtsTimerecord component
-
duration
public int duration()Returns the value of thedurationrecord component.- Returns:
- the value of the
durationrecord component
-
durationTime
public float durationTime()Returns the value of thedurationTimerecord component.- Returns:
- the value of the
durationTimerecord component
-
size
public int size()Returns the value of thesizerecord component.- Returns:
- the value of the
sizerecord component
-
pos
public long pos()Returns the value of theposrecord component.- Returns:
- the value of the
posrecord component
-
flags
Returns the value of theflagsrecord component.- Returns:
- the value of the
flagsrecord component
-