getPadStatus method
Gets the status of the presentation attack detection.
return Status of the presentation attack detection. throws FaceException An error has occurred during Face Library execution.
Implementation
PadStatus getPadStatus() {
Pointer<Int32> pPadStatus = calloc();
try {
var err = faceSDK.id3FacePortrait_GetPadStatus(_pHandle.value, pPadStatus);
if (err != FaceError.success.value) {
throw FaceException(err);
}
final vPadStatus = PadStatusX.fromValue(pPadStatus.value);
return vPadStatus;
} finally {
calloc.free(pPadStatus);
}
}