Interface PrintOperation.DoneCallback

All Superinterfaces:
FunctionPointer
Enclosing class:
PrintOperation
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface PrintOperation.DoneCallback extends FunctionPointer

Functional interface declaration of the DoneCallback callback.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Emitted when the print operation run has finished doing everything required for printing.
    Creates a native function pointer to the upcall(MemorySegment, int) method.
    default void
    upcall(MemorySegment sourcePrintOperation, int result)
    The upcall method is called from native code.