Package com.incode.welcome_sdk.listeners
Interface FaceRecognitionPrepareListener
-
- All Implemented Interfaces:
@Deprecated() public interface FaceRecognitionPrepareListener
Interface which should be implemented to receive callbacks with download progress of models and native libraries.
-
-
Method Summary
Modifier and Type Method Description abstract void
onPrepareProgressUpdate(int progress)
Receive updates for the download progress of models and native libraries. abstract void
onFaceRecognitionReady()
Called when the models and libraries are downloaded and face recognition is ready to be used. abstract void
onPrepareError(LibraryDownloadError error)
Called when there was an error in downloading models and libraries -
-
Method Detail
-
onPrepareProgressUpdate
@Deprecated() abstract void onPrepareProgressUpdate(int progress)
Receive updates for the download progress of models and native libraries. Reaching 100% download should not be considered as an indicator that face recognition is ready to be used.
- Parameters:
progress
- % of download completed
-
onFaceRecognitionReady
@Deprecated() abstract void onFaceRecognitionReady()
Called when the models and libraries are downloaded and face recognition is ready to be used.
-
onPrepareError
@Deprecated() abstract void onPrepareError(LibraryDownloadError error)
Called when there was an error in downloading models and libraries
- Parameters:
error
- Either of the following values: INSUFFICIENT_SPACE or NETWORK_ERROR
-
-
-
-