getThreshold method

int getThreshold()

Gets the the biometric decision threshold.

return The biometric decision threshold. throws BiosealException An error has occurred during Bioseal Library execution.

Implementation

int getThreshold() {
  Pointer<Int> pThreshold = calloc();
  try {
    var err = biosealSDK.id3BiosealBiometricVerificationRule_GetThreshold(_pHandle.value, pThreshold);
    if (err != BiosealError.success.value) {
      throw BiosealException(err);
    }
    final vThreshold = pThreshold.value;
    return vThreshold;
  } finally {
    calloc.free(pThreshold);
  }
}