Package com.adyen.checkout.await
Class AwaitComponent
-
- All Implemented Interfaces:
-
com.adyen.checkout.components.core.RedirectableActionComponent,com.adyen.checkout.components.core.internal.ActionComponent,com.adyen.checkout.components.core.internal.Component,com.adyen.checkout.ui.core.internal.ui.ViewableComponent
public final class AwaitComponent extends ViewModel implements ActionComponent, ViewableComponent, RedirectableActionComponent
An ActionComponent that is able to handle the 'await' action.
-
-
Field Summary
Fields Modifier and Type Field Description public final static ActionComponentProvider<AwaitComponent, AwaitConfiguration, AwaitDelegate>PROVIDERprivate final Flow<ComponentViewType>viewFlowprivate final AwaitDelegatedelegate
-
Method Summary
Modifier and Type Method Description Flow<ComponentViewType>getViewFlow()AwaitDelegategetDelegate()BooleancanHandleAction(Action action)UnithandleAction(Action action, Activity activity)UnitsetOnRedirectListener(Function0<Unit> listener)-
-
Method Detail
-
getViewFlow
Flow<ComponentViewType> getViewFlow()
-
getDelegate
AwaitDelegate getDelegate()
-
canHandleAction
Boolean canHandleAction(Action action)
-
handleAction
Unit handleAction(Action action, Activity activity)
-
setOnRedirectListener
Unit setOnRedirectListener(Function0<Unit> listener)
-
-
-
-