Interface AddCardListener
public interface AddCardListener
The requested add card operation status is returned via this interface.
- Since:
- API Level 1.2
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onFail
(int errorCode, android.os.Bundle errorData) This API is invoked when request operation has failed.void
onProgress
(int currentCount, int totalCount, android.os.Bundle bundleData) This API is invoked when progress is updated.
In case of TSM solution, it takes time for card provisioning.void
This API is invoked when request operation is success.
-
Method Details
-
onSuccess
This API is invoked when request operation is success.- Parameters:
status
- Added card status.card
- Added card information.- Since:
- API Level 1.2
-
onFail
void onFail(int errorCode, android.os.Bundle errorData) This API is invoked when request operation has failed.- Parameters:
errorCode
- Failure reason.errorData
- Extra data(if any) related to request failure.- Since:
- API Level 1.2
-
onProgress
void onProgress(int currentCount, int totalCount, android.os.Bundle bundleData) This API is invoked when progress is updated.
In case of TSM solution, it takes time for card provisioning. While provisioning, issuer app can use the progress information to show on the progress bar.- Parameters:
currentCount
- Current step count if needed.totalCount
- Total step count if needed.bundleData
- Extra data(if any) related to progress if needed.- Since:
- API Level 1.2
-
Samsung Electronics.
Samsung Pay SDK 2.19.00 - Jun 12 2024