Package com.meawallet.mtp
Interface MeaCompleteAuthenticationListener
-
public interface MeaCompleteAuthenticationListener
Interface describing the various completeAuthentication remote request events.App developers should create a local instance of this class and pass it in
MeaTokenPlatform.completeAdditionalAuthenticationForDigitization(String, String, MeaCompleteAuthenticationListener)
to listen for events.onFailure(Object)
andonSuccess(MeaCard)
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
onFailure(T2 error)
Called when operation failed.void
onSuccess(MeaCard card)
Called when operation completed successfully.
-
-
-
Method Detail
-
onSuccess
@UiThread void onSuccess(@NonNull MeaCard card)
Called when operation completed successfully.- Parameters:
card
- The card for which authentication has been completed.
-
onFailure
@UiThread void onFailure(@NonNull T2 error)
Called when operation failed.- Parameters:
error
- The error or error array.
-
-