Interface FaceInfoListener

  • All Implemented Interfaces:

    
    public interface FaceInfoListener
    
                        

    Interface for getting the list of FaceInfo data stored in the local database

    • 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 Unit onGetFacesCompleted(List<FaceInfo> faceInfoList) Called when database results are ready
      abstract Unit onError(Throwable error) Called when retrieving faces fails
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onGetFacesCompleted

         abstract Unit onGetFacesCompleted(List<FaceInfo> faceInfoList)

        Called when database results are ready

        Parameters:
        faceInfoList - List of results which contains found items in the database
      • onError

         abstract Unit onError(Throwable error)

        Called when retrieving faces fails

        Parameters:
        error - Error which caused retrieving faces to fail