Package com.meawallet.mcd
Interface McdGetCardDataListener
public interface McdGetCardDataListener
Listener interface used to listen for asynchronously executed
MeaCardData.getCardData(String, String, McdGetCardDataListener)
call result callbacks.
Both onSuccess(McdCardData)
and onFailure(McdError)
callbacks are returned on the MainThread
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when operation failed.void
onSuccess
(McdCardData data) Called when operation completed successfully.
-
Method Details
-
onSuccess
Called when operation completed successfully.- Parameters:
data
- Instance ofMcdCardData
object containing card PAN and CVV.
-
onFailure
Called when operation failed.- Parameters:
error
- Instance ofMcdError
describing an error.
-