Skip to content

    Java cloud

    Java

    From Java Application

    In case of Java application, instead, the only extra step to take is creating a Thread and execute the suspend method inside the run callback. When a suspend method is called from Java, it requires another parameter handling the Continuation, which needs to be implemented accordingly.

    Java

    new Thread(() -> { 
        app2AppIPC.revert(reversalData, new OperationListener() { 
                    @Override 
                    public void onFailure(A2ASDKResponse error) {

    Was this helpful?

    What was your feeling about it?