Package com.meawallet.mtp
Interface MeaCardReplenishListener
-
public interface MeaCardReplenishListener
Interface describing the various card payment tokens replenish events.App developers should create a local instance of this class and pass it to
MeaTokenPlatform.setCardReplenishListener(MeaCardReplenishListener)
to listen for events. Event callbacks are invoked on the Main / UI thread after the background computation finishes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onReplenishCompleted(MeaCard meaCard, int numberOfPaymentTokens)
Called when operation completed successfully.void
onReplenishFailed(MeaCard meaCard, MeaError error)
Called when operation failed.
-
-
-
Method Detail
-
onReplenishCompleted
@UiThread void onReplenishCompleted(@NonNull MeaCard meaCard, int numberOfPaymentTokens)
Called when operation completed successfully.- Parameters:
meaCard
- The card for which replenish payment tokens has been completed.numberOfPaymentTokens
- Number of payment tokens received.
-
-