Package dev.adlin.vts4j.core.event.impl
Record Class TrackingStatusChangedEvent
java.lang.Object
java.lang.Record
dev.adlin.vts4j.core.event.impl.TrackingStatusChangedEvent
- All Implemented Interfaces:
Event
-
Constructor Summary
ConstructorsConstructorDescriptionTrackingStatusChangedEvent(Boolean faceFound, Boolean leftHandFound, Boolean rightHandFound) Creates an instance of aTrackingStatusChangedEventrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefaceFoundrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theleftHandFoundrecord component.Returns the value of therightHandFoundrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TrackingStatusChangedEvent
Creates an instance of aTrackingStatusChangedEventrecord class.- Parameters:
faceFound- the value for thefaceFoundrecord componentleftHandFound- the value for theleftHandFoundrecord componentrightHandFound- the value for therightHandFoundrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
faceFound
Returns the value of thefaceFoundrecord component.- Returns:
- the value of the
faceFoundrecord component
-
leftHandFound
Returns the value of theleftHandFoundrecord component.- Returns:
- the value of the
leftHandFoundrecord component
-
rightHandFound
Returns the value of therightHandFoundrecord component.- Returns:
- the value of the
rightHandFoundrecord component
-