Record Class PlaybackChanged
java.lang.Object
java.lang.Record
lol.trq.orpheus.event.PlaybackChanged
- All Implemented Interfaces:
OrpheusEvent
Any field of the playback changed. Raised after the more specific events of the same change.
-
Constructor Summary
ConstructorsConstructorDescriptionPlaybackChanged(Snapshot snapshot) Creates an instance of aPlaybackChangedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.snapshot()Returns the value of thesnapshotrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PlaybackChanged
Creates an instance of aPlaybackChangedrecord class.- Parameters:
snapshot- the value for thesnapshotrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
snapshot
Returns the value of thesnapshotrecord component.- Specified by:
snapshotin interfaceOrpheusEvent- Returns:
- the value of the
snapshotrecord component
-