ResultHandler

interface ResultHandler<T>

A handler for an asynchronous operation which returns an object of type T.

Parameters

<T>

The result type.

Functions

Link copied to clipboard
abstract fun onComplete(result: T)
Handles successful completion of the operation.
Link copied to clipboard
abstract fun onFailure(failure: GradleConnectionException)
Handles a failed operation.