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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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.