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