Package com.incode.welcome_sdk.listeners
Interface SyncFaceLoginAttemptsListener
-
- All Implemented Interfaces:
public interface SyncFaceLoginAttemptsListener
-
-
Method Summary
Modifier and Type Method Description abstract Unit
onFaceLoginAttemptSyncCompleted(FaceLoginAttemptSyncResult faceLoginAttemptSyncResult)
Called when face login attempts sync is complete. abstract Unit
onSyncProgressUpdate(Float completionPercentage)
Called each time face login attempt is successfully synced from the database, providing a progress update. abstract Unit
onError(FaceLoginAttemptSyncError faceLoginAttemptSyncError)
Called when an error occurs during the sync process. -
-
Method Detail
-
onFaceLoginAttemptSyncCompleted
abstract Unit onFaceLoginAttemptSyncCompleted(FaceLoginAttemptSyncResult faceLoginAttemptSyncResult)
Called when face login attempts sync is complete.
- Parameters:
faceLoginAttemptSyncResult
- Sync result with the successfulSyncCount, pendingSyncCount and syncedWithErrorCount
-
onSyncProgressUpdate
abstract Unit onSyncProgressUpdate(Float completionPercentage)
Called each time face login attempt is successfully synced from the database, providing a progress update.
- Parameters:
completionPercentage
- the current progress as a percentage (from 0.0 to 100.0) of the sync operation.
-
onError
abstract Unit onError(FaceLoginAttemptSyncError faceLoginAttemptSyncError)
Called when an error occurs during the sync process.
- Parameters:
faceLoginAttemptSyncError
- Throwable wrapper with unsuccessful sync count.
-
-
-
-