public static interface KYCManager.UploadMediaCallback extends KYCManager.SessionCallback
KYCManager.uploadMedia(KYCSession, File, KYCMediaSourceType, SessionCallback)
. Extends
KYCManager.SessionCallback
so that the uploading progress can also be caughtModifier and Type | Method and Description |
---|---|
void |
onSomeDataUploaded(KYCMediaSourceType mediaSourceType,
long uploaded,
long fileSize)
Called each time, some piece of file has been uploaded to the server
|
success
error
void onSomeDataUploaded(KYCMediaSourceType mediaSourceType, long uploaded, long fileSize)
mediaSourceType
- Type of data to be uploaded, must be one of KYCMediaSourceType
uploaded
- The number of bytes already uploadedfileSize
- The number of bytes to be uploaded in total.
Does not change from call to call for the same file