getCount method
Gets the number of elements in the FaceCandidateList object.
return Number of elements in the FaceCandidate object. throws FaceException An error has occurred during Face Library execution.
Implementation
int getCount() {
Pointer<Int> pCount = calloc();
try {
var err = faceSDK.id3FaceCandidateList_GetCount(_pHandle.value, pCount);
if (err != FaceError.success.value) {
throw FaceException(err);
}
final vCount = pCount.value;
return vCount;
} finally {
calloc.free(pCount);
}
}