Record Class RuntimeEventPayload.Unknown
java.lang.Object
java.lang.Record
org.maplibre.nativeffi.runtime.RuntimeEventPayload.Unknown
- All Implemented Interfaces:
RuntimeEventPayload
- Enclosing interface:
RuntimeEventPayload
public static record RuntimeEventPayload.Unknown(int rawPayloadType, long payloadSize)
extends Record
implements RuntimeEventPayload
-
Nested Class Summary
Nested classes/interfaces inherited from interface RuntimeEventPayload
RuntimeEventPayload.None, RuntimeEventPayload.OfflineOperationCompleted, RuntimeEventPayload.OfflineRegionResponseError, RuntimeEventPayload.OfflineRegionStatusChanged, RuntimeEventPayload.OfflineRegionTileCountLimit, RuntimeEventPayload.RenderFrame, RuntimeEventPayload.RenderMap, RuntimeEventPayload.StyleImageMissing, RuntimeEventPayload.TileAction, RuntimeEventPayload.Unknown -
Field Summary
Fields inherited from interface RuntimeEventPayload
NONE -
Constructor Summary
ConstructorsConstructorDescriptionUnknown(int rawPayloadType, long payloadSize) Creates an instance of aUnknownrecord 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.longReturns the value of thepayloadSizerecord component.intReturns the value of therawPayloadTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Unknown
public Unknown(int rawPayloadType, long payloadSize) Creates an instance of aUnknownrecord class.- Parameters:
rawPayloadType- the value for therawPayloadTyperecord componentpayloadSize- the value for thepayloadSizerecord 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 with thecomparemethod from their corresponding wrapper classes. -
rawPayloadType
public int rawPayloadType()Returns the value of therawPayloadTyperecord component.- Returns:
- the value of the
rawPayloadTyperecord component
-
payloadSize
public long payloadSize()Returns the value of thepayloadSizerecord component.- Returns:
- the value of the
payloadSizerecord component
-