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

OnValueListener

@FunctionalInterface interface OnValueListener<T, U> (source)

An interface used to deliver values to listeners of a FxaResult

Parameters

Parameters

Functions

onValue

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

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