public interface FaceQueue
Faces
.Modifier and Type | Method and Description |
---|---|
void |
addFaceQueueListener(@NotNull FaceQueueListener faceQueueListener)
Adds a
FaceQueueListener to be notified about processed faces. |
void |
loadFace(@NotNull Face face)
Request a face.
|
void |
removeFaceQueueListener(@NotNull FaceQueueListener faceQueueListener)
Removes a
FaceQueueListener to be notified about processed
faces. |
void |
reset()
Reset the processing: forget about pending faces.
|
void reset()
void loadFace(@NotNull @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 addFaceQueueListener(@NotNull @NotNull FaceQueueListener faceQueueListener)
FaceQueueListener
to be notified about processed faces.faceQueueListener
- the listener to addvoid removeFaceQueueListener(@NotNull @NotNull FaceQueueListener faceQueueListener)
FaceQueueListener
to be notified about processed
faces.faceQueueListener
- the listener to remove