Record Class RuntimeEventPayload.OfflineOperationCompleted
java.lang.Object
java.lang.Record
org.maplibre.nativeffi.runtime.RuntimeEventPayload.OfflineOperationCompleted
- All Implemented Interfaces:
RuntimeEventPayload
- Enclosing interface:
RuntimeEventPayload
public static record RuntimeEventPayload.OfflineOperationCompleted(long operationId, OfflineOperationKind operationKind, int rawOperationKind, OfflineOperationResultKind resultKind, int rawResultKind, int resultStatus, boolean found)
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
ConstructorsConstructorDescriptionOfflineOperationCompleted(long operationId, OfflineOperationKind operationKind, int rawOperationKind, OfflineOperationResultKind resultKind, int rawResultKind, int resultStatus, boolean found) Creates an instance of aOfflineOperationCompletedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.booleanfound()Returns the value of thefoundrecord component.final inthashCode()Returns a hash code value for this object.longReturns the value of theoperationIdrecord component.Returns the value of theoperationKindrecord component.intReturns the value of therawOperationKindrecord component.intReturns the value of therawResultKindrecord component.Returns the value of theresultKindrecord component.intReturns the value of theresultStatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OfflineOperationCompleted
public OfflineOperationCompleted(long operationId, OfflineOperationKind operationKind, int rawOperationKind, OfflineOperationResultKind resultKind, int rawResultKind, int resultStatus, boolean found) Creates an instance of aOfflineOperationCompletedrecord class.- Parameters:
operationId- the value for theoperationIdrecord componentoperationKind- the value for theoperationKindrecord componentrawOperationKind- the value for therawOperationKindrecord componentresultKind- the value for theresultKindrecord componentrawResultKind- the value for therawResultKindrecord componentresultStatus- the value for theresultStatusrecord componentfound- the value for thefoundrecord 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. -
operationId
public long operationId()Returns the value of theoperationIdrecord component.- Returns:
- the value of the
operationIdrecord component
-
operationKind
Returns the value of theoperationKindrecord component.- Returns:
- the value of the
operationKindrecord component
-
rawOperationKind
public int rawOperationKind()Returns the value of therawOperationKindrecord component.- Returns:
- the value of the
rawOperationKindrecord component
-
resultKind
Returns the value of theresultKindrecord component.- Returns:
- the value of the
resultKindrecord component
-
rawResultKind
public int rawResultKind()Returns the value of therawResultKindrecord component.- Returns:
- the value of the
rawResultKindrecord component
-
resultStatus
public int resultStatus()Returns the value of theresultStatusrecord component.- Returns:
- the value of the
resultStatusrecord component
-
found
public boolean found()Returns the value of thefoundrecord component.- Returns:
- the value of the
foundrecord component
-