public static interface

BoostRequest.Listener

com.usebutton.sdk.boost.BoostRequest.Listener

Class Overview

Boost request callback interface invoked on completion.

Summary

Public Methods
abstract void onComplete(BoostResponse response, Throwable throwable)
Callback that returns either a valid BoostResponse object that can be rendered, or a Throwable error.

Public Methods

public abstract void onComplete (BoostResponse response, Throwable throwable)

Callback that returns either a valid BoostResponse object that can be rendered, or a Throwable error.

Parameters
response BoostResponse that can be rendered in a BoostView on a successful response or null if no boost offer is available.
throwable null on a successful response or error if one was encountered.