Package com.meawallet.mtp
Interface MeaGetPaymentAppInstanceIdListener
-
public interface MeaGetPaymentAppInstanceIdListener
Interface describing the various getPaymentAppInstanceId events.App developers should create a local instance of this class and pass it to
MeaTokenPlatform.getPaymentAppInstanceId(MeaGetPaymentAppInstanceIdListener)
to listen for events.onFailure(Object)
andonSuccess(String)
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(java.lang.String paymentAppInstanceId)
Called when operation completed successfully.
-
-
-
Method Detail
-
onSuccess
@UiThread void onSuccess(@Nullable java.lang.String paymentAppInstanceId)
Called when operation completed successfully.- Parameters:
paymentAppInstanceId
- The payment app instance Id.
-
onFailure
@UiThread void onFailure(@NonNull T2 error)
Called when operation failed.- Parameters:
error
- The error or error array.
-
-