public interface FaceQueue
Interface for classes implementing a means to load Face
s.
Method Summary | |
---|---|
void |
addFaceQueueListener(FaceQueueListener faceQueueListener)
Adds a FaceQueueListener to be notified about processed faces. |
void |
loadFace(Face face)
Request a face. |
void |
removeFaceQueueListener(FaceQueueListener faceQueueListener)
Removes a FaceQueueListener to be notified about processed
faces. |
void |
reset()
Reset the processing: forget about pending faces. |
Method Detail |
---|
void addFaceQueueListener(@NotNull FaceQueueListener faceQueueListener)
FaceQueueListener
to be notified about processed faces.
faceQueueListener
- the listener to addvoid loadFace(@NotNull Face face)
FaceQueueListener.faceLoaded(Face, FaceImages)
or FaceQueueListener.faceFailed(Face)
for the face. Faces re-requested
while still processing may be notified only once.
face
- the requested facevoid removeFaceQueueListener(@NotNull FaceQueueListener faceQueueListener)
FaceQueueListener
to be notified about processed
faces.
faceQueueListener
- the listener to removevoid reset()