Interface ComponentEventHandler
-
- All Implemented Interfaces:
@RestrictTo(value = {RestrictTo.Scope.LIBRARY_GROUP}) public interface ComponentEventHandler<T extends PaymentComponentState<?>>
-
-
Method Summary
Modifier and Type Method Description abstract Unitinitialize(CoroutineScope coroutineScope)Do not keep a local references of this scope if you don't need to. abstract UnitonCleared()abstract UnitonPaymentComponentEvent(PaymentComponentEvent<T> event, BaseComponentCallback componentCallback)-
-
Method Detail
-
initialize
abstract Unit initialize(CoroutineScope coroutineScope)
Do not keep a local references of this scope if you don't need to.
If you have to keep any references to CoroutineScope, use onCleared to clear them.
-
onPaymentComponentEvent
abstract Unit onPaymentComponentEvent(PaymentComponentEvent<T> event, BaseComponentCallback componentCallback)
-
-
-
-