Record Class RuntimeEventPayload.RenderMap
java.lang.Object
java.lang.Record
org.maplibre.nativeffi.runtime.RuntimeEventPayload.RenderMap
- All Implemented Interfaces:
RuntimeEventPayload
- Enclosing interface:
RuntimeEventPayload
public static record RuntimeEventPayload.RenderMap(RenderMode mode, int rawMode)
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
ConstructorsConstructorDescriptionRenderMap(RenderMode mode, int rawMode) Creates an instance of aRenderMaprecord 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.mode()Returns the value of themoderecord component.intrawMode()Returns the value of therawModerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RenderMap
Creates an instance of aRenderMaprecord class.- Parameters:
mode- the value for themoderecord componentrawMode- the value for therawModerecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
mode
Returns the value of themoderecord component.- Returns:
- the value of the
moderecord component
-
rawMode
public int rawMode()Returns the value of therawModerecord component.- Returns:
- the value of the
rawModerecord component
-