Record Class LyricsChanged
java.lang.Object
java.lang.Record
lol.trq.orpheus.event.LyricsChanged
- All Implemented Interfaces:
OrpheusEvent
Lyrics for the playing track were found, replaced or cleared.
-
Constructor Summary
ConstructorsConstructorDescriptionLyricsChanged(Snapshot snapshot) Creates an instance of aLyricsChangedrecord 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
-
LyricsChanged
Creates an instance of aLyricsChangedrecord 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
-