Record Class RuntimeEventPayload.OfflineRegionTileCountLimit
java.lang.Object
java.lang.Record
org.maplibre.nativejni.runtime.RuntimeEventPayload.OfflineRegionTileCountLimit
- All Implemented Interfaces:
RuntimeEventPayload
- Enclosing interface:
RuntimeEventPayload
public static record RuntimeEventPayload.OfflineRegionTileCountLimit(long regionId, long limit)
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
ConstructorsConstructorDescriptionOfflineRegionTileCountLimit(long regionId, long limit) Creates an instance of aOfflineRegionTileCountLimitrecord 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.longlimit()Returns the value of thelimitrecord component.longregionId()Returns the value of theregionIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OfflineRegionTileCountLimit
public OfflineRegionTileCountLimit(long regionId, long limit) Creates an instance of aOfflineRegionTileCountLimitrecord class.- Parameters:
regionId- the value for theregionIdrecord componentlimit- the value for thelimitrecord 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. -
regionId
public long regionId()Returns the value of theregionIdrecord component.- Returns:
- the value of the
regionIdrecord component
-
limit
public long limit()Returns the value of thelimitrecord component.- Returns:
- the value of the
limitrecord component
-