public interface FaceQueue
Faces
.Modifier and Type | Method and Description |
---|---|
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.
|
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()