setId method

void setId(
  1. int id
)

Sets the ID of the detected face.

param id ID of the detected face. throws FaceException An error has occurred during Face Library execution.

Implementation

void setId(int id) {
  var err = faceSDK.id3DetectedFace_SetId(_pHandle.value, id);
  if (err != FaceError.success.value) {
    throw FaceException(err);
  }
}