# getAttackSupportDetectorConfidenceThreshold method

int getAttackSupportDetectorConfidenceThreshold()

Gets the attack support detector confidence threshold, in the range (0;100). Hint: Default value is 25. Note: Setting a high threshold reduces false attack support detections but can increase the number of undetected attack supports.

return Attack support detector confidence threshold, in the range (0;100). throws FaceException An error has occurred during Face Library execution.

## Implementation

    int getAttackSupportDetectorConfidenceThreshold() {
      Pointer<Int> pAttackSupportDetectorConfidenceThreshold = calloc();
      try {
        var err = faceSDK.id3FacePad_GetAttackSupportDetectorConfidenceThreshold(_pHandle.value, pAttackSupportDetectorConfidenceThreshold);
        if (err != FaceError.success.value) {
          throw FaceException(err);
        }
        final vAttackSupportDetectorConfidenceThreshold = pAttackSupportDetectorConfidenceThreshold.value;
        return vAttackSupportDetectorConfidenceThreshold;
      } finally {
        calloc.free(pAttackSupportDetectorConfidenceThreshold);
      }
    }