-
- All Implemented Interfaces:
-
com.adyen.checkout.components.ActionComponent,com.adyen.checkout.components.Component,com.adyen.checkout.components.Component,com.adyen.checkout.components.ViewableComponent
public class AwaitComponent extends BaseActionComponent<AwaitConfiguration> implements ViewableComponent<AwaitOutputData, AwaitConfiguration, ActionComponentData>
-
-
Field Summary
Fields Modifier and Type Field Description public final static ActionComponentProvider<AwaitComponent, AwaitConfiguration>PROVIDER
-
Constructor Summary
Constructors Constructor Description AwaitComponent(SavedStateHandle savedStateHandle, Application application, AwaitConfiguration configuration)
-
Method Summary
Modifier and Type Method Description booleancanHandleAction(@NonNull() Action action)voidobserve(@NonNull() LifecycleOwner lifecycleOwner, @NonNull() Observer<ActionComponentData> observer)voidobserveOutputData(@NonNull() LifecycleOwner lifecycleOwner, @NonNull() Observer<AwaitOutputData> observer)AwaitOutputDatagetOutputData()voidsendAnalyticsEvent(@NonNull() Context context)-
Methods inherited from class com.adyen.checkout.components.base.BaseActionComponent
handleAction, observe, observeErrors, removeErrorObserver, removeErrorObservers, removeObserver, removeObservers, restoreState, saveState -
Methods inherited from class com.adyen.checkout.components.base.lifecycle.ActionComponentViewModel
getConfiguration, getSavedStateHandle -
Methods inherited from class androidx.lifecycle.AndroidViewModel
getApplication -
Methods inherited from class com.adyen.checkout.components.ActionComponent
canHandleAction -
Methods inherited from class com.adyen.checkout.components.ViewableComponent
getOutputData, observeOutputData, sendAnalyticsEvent -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AwaitComponent
AwaitComponent(SavedStateHandle savedStateHandle, Application application, AwaitConfiguration configuration)
-
-
Method Detail
-
canHandleAction
boolean canHandleAction(@NonNull() Action action)
-
observe
void observe(@NonNull() LifecycleOwner lifecycleOwner, @NonNull() Observer<ActionComponentData> observer)
-
observeOutputData
void observeOutputData(@NonNull() LifecycleOwner lifecycleOwner, @NonNull() Observer<AwaitOutputData> observer)
-
getOutputData
@Nullable() AwaitOutputData getOutputData()
-
sendAnalyticsEvent
void sendAnalyticsEvent(@NonNull() Context context)
-
-
-
-