Interface MeaCardProvisionListener


public interface MeaCardProvisionListener
Interface describing the various card provision events.

App developers should create a local instance of this class and pass it to MeaTokenPlatform.setCardProvisionListener(MeaCardProvisionListener) to listen for events. Event callbacks are invoked on the Main / UI thread after the background computation finishes.

  • Method Details

    • onCardProvisionCompleted

      @UiThread void onCardProvisionCompleted(@NonNull MeaCard meaCard)
      Called when operation completed successfully.
      Parameters:
      meaCard - The card for which provision has been successful.
    • onCardProvisionFailure

      @UiThread void onCardProvisionFailure(@NonNull MeaCard meaCard, @NonNull MeaError error)
      Called when operation failed.
      Parameters:
      meaCard - The card for which provision has failed.
      error - Provision failure error.