Package com.meawallet.mtp
Interface MeaGetCardTransactionHistoryListener
-
public interface MeaGetCardTransactionHistoryListener
Interface describing the various getCardTransactionHistory remote request events.App developers should create a local instance of this class and pass it to
MeaCard.getTransactionHistory(MeaGetCardTransactionHistoryListener)
to listen for events.onFailure(Object)
andonSuccess(List)
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.util.List<MeaTransactionDetails> cardTransactionsList)
Called when operation completed successfully.
-
-
-
Method Detail
-
onSuccess
void onSuccess(@NonNull java.util.List<MeaTransactionDetails> cardTransactionsList)
Called when operation completed successfully.- Parameters:
cardTransactionsList
- The list of card transactionsMeaTransactionDetails
.
-
onFailure
@UiThread void onFailure(@NonNull T2 error)
Called when operation failed.- Parameters:
error
- The error or error array.
-
-