Interface ActionDelegate
-
- All Implemented Interfaces:
-
com.adyen.checkout.components.core.internal.ui.ComponentDelegate
@RestrictTo(value = {RestrictTo.Scope.LIBRARY_GROUP}) public interface ActionDelegate implements ComponentDelegate
-
-
Method Summary
Modifier and Type Method Description abstract UnithandleAction(Action action, Activity activity)UnitonError(CheckoutException e)Override this method if you need to emit to the exceptionFlow from outside of this class. abstract Unitobserve(LifecycleOwner lifecycleOwner, CoroutineScope coroutineScope, Function1<ActionComponentEvent, Unit> callback)abstract UnitremoveObserver()abstract Flow<CheckoutException>getExceptionFlow()-
-
Method Detail
-
handleAction
abstract Unit handleAction(Action action, Activity activity)
-
onError
Unit onError(CheckoutException e)
Override this method if you need to emit to the exceptionFlow from outside of this class.
-
observe
abstract Unit observe(LifecycleOwner lifecycleOwner, CoroutineScope coroutineScope, Function1<ActionComponentEvent, Unit> callback)
-
removeObserver
abstract Unit removeObserver()
-
getExceptionFlow
abstract Flow<CheckoutException> getExceptionFlow()
-
-
-
-