Interface Cast.RequestRawDataCallback

  • 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.RequestRawDataCallback
    Callback when the raw data request was completed.
    • Method Detail

      • accept

        void accept​(int result)
        Called with the request result.
        Parameters:
        result - the size in bytes of the data package, 0 if no raw data was buffered or -1 if the request could not be made.