com.usebutton.sdk.boost.BoostRequest.Listener |
Boost request callback interface invoked on completion.
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. |
Callback that returns either a valid BoostResponse
object that can be rendered, or a
Throwable
error.
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.
|