Interface Cast.ReadRawDataCallback

  • Enclosing class:
    Cast
    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 Cast.ReadRawDataCallback
    Callback when the raw data was retrieved from the probe.
    • Method Detail

      • accept

        void accept​(int result,
                    java.nio.ByteBuffer data)
        Called with the request result.
        Parameters:
        result - the size in bytes of the data package or -1 if an error occurred.
        data - the raw data.