get method
- int index
Gets an item of the FaceCandidateList object.
param index Index of the FaceCandidate item to get. return FaceCandidate item to get. throws FaceException An error has occurred during Face Library execution.
Implementation
FaceCandidate get(int index) {
FaceCandidate faceCandidateItem = FaceCandidate();
var err = faceSDK.id3FaceCandidateList_Get(_pHandle.value, index, faceCandidateItem.handle);
if (err != FaceError.success.value) {
faceCandidateItem.dispose();
throw FaceException(err);
}
return faceCandidateItem;
}