addResultCallback

Adds a result callback.

Return

The pending result.

Parameters

resultCallback

The result callback.


open fun addResultCallback(@Nullable looper: Looper, @NonNull resultCallback: ResultCallback<T>): PendingResult<T>

Adds a result callback.

Return

The pending result.

Parameters

looper

The looper to run the callback on.

resultCallback

The result callback.