setLatestResult

fun setLatestResult(newResult: A_BasicObject?)

Set the latest result due to a successfulprimitive, or the latest error codeA_Number produced by a failed primitive.

The value may be Java's null to indicate this field should be clear, to detect accidental use.

Parameters

newResult

The latest result to record.