Interface PendingOutOfBandOperations

All Superinterfaces:
HttpOperation<PendingOutOfBandOperations>, Operation

public interface PendingOutOfBandOperations extends HttpOperation<PendingOutOfBandOperations>
The operation retrieving the out-of-band operations that have been started in the server, and must be handled by the application running the Mobile SDK in this device. The retrieved operations have been neither timed-out, nor have been processed by the SDK, that is, they have not been processed using a OutOfBandOperation operation.

Example:

 private void retrievePendingOutOfBandOperations(Operations operations) {
     operations.pendingOutOfBandOperations()
         .onResult(result -> {
             // handle the retrieved out-of-band operations. For example
             // they can be processed using an OutOfBandOperation.
         })
         .execute();
 }
 

It is recommended to use this operation as sparsely as possible, because of the performance impact that it can have in the server. Do not use it for example with a polling mechanism.

This is supported only when the backend uses nevisFIDO 7.2402.** or later.

This interface is experimental and can change in the future without notice.

See Also:
  • Method Details

    • onResult

      Specifies the object that will be invoked with the PendingOutOfBandOperationsResult containing the pending out-of-band operations for this application and the errors (if any) that occurred retrieving the operations. This object will be invoked in the main/UI thread.

      Providing the object handling the PendingOutOfBandOperationsResult is required.

      Parameters:
      resultConsumer - the consumer of an PendingOutOfBandOperationsResult
      Returns:
      an PendingOutOfBandOperations