Interface PaymentManager.CardInfoListener
- Enclosing class:
- PaymentManager
public static interface PaymentManager.CardInfoListener
This interface is for listening requestCardInfo() callback events.
- Since:
- API Level 1.1
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onFailure
(int errorCode, android.os.Bundle errorData) This callback is received when the card information cannot be retrieved.
For example, when SDK service in the Samsung Pay app dies abnormally.void
This callback is received when the card information is received successfully.
-
Method Details
-
onResult
This callback is received when the card information is received successfully.- Parameters:
cardResponse
- CardInfo List. Null, if Samsung Pay does not have any card for online. payment.
Otherwise, card list of supported card brands is returned.- Since:
- API Level 1.1
-
onFailure
void onFailure(int errorCode, android.os.Bundle errorData) This callback is received when the card information cannot be retrieved.
For example, when SDK service in the Samsung Pay app dies abnormally.- Parameters:
errorCode
- Error code, the reason for failure.errorData
- Extra Error Data provided by Samsung Pay.- Since:
- API Level 1.1
-
Samsung Electronics.
Samsung Pay SDK 2.18.00 - Aug 25 2023