getId method
Gets the ID of the detected face.
return ID of the detected face. throws FaceException An error has occurred during Face Library execution.
Implementation
int getId() {
Pointer<Int> pId = calloc();
try {
var err = faceSDK.id3TrackedFace_GetId(_pHandle.value, pId);
if (err != FaceError.success.value) {
throw FaceException(err);
}
final vId = pId.value;
return vId;
} finally {
calloc.free(pId);
}
}