ResultHandler

interface ResultHandler<T>(source)

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

Since

1.0-milestone-3

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.