android-components / mozilla.components.service.fxa / FxaResult / OnValueListener / onValue

onValue

abstract fun onValue(value: T): FxaResult<U>? (source)

Called when a FxaResult is completed with a value. This will be called on the same thread in which the result was completed.

Parameters

value - The value of the FxaResult

Return
A new FxaResult, used for chaining results together. May be null.