clone method

FaceCandidateList clone()

Creates a copy of the FaceCandidateList object.

return The newly created FaceCandidateList object. throws FaceException An error has occurred during Face Library execution.

Implementation

FaceCandidateList clone() {
  FaceCandidateList clone = FaceCandidateList();
  var err = faceSDK.id3FaceCandidateList_CopyTo(_pHandle.value, clone.handle);
  if (err != FaceError.success.value) {
    throw FaceException(err);
  }
  return clone;
}