# getUnderExposureThreshold method

int getUnderExposureThreshold()

Gets the under exposure threshold. Above this threshold, the face is probably under-exposed. Hint: Default value is 50.

return Under exposure threshold. throws FaceException An error has occurred during Face Library execution.

## Implementation

    int getUnderExposureThreshold() {
      Pointer<Int> pUnderExposureThreshold = calloc();
      try {
        var err = faceSDK.id3FacePortraitProcessor_GetUnderExposureThreshold(_pHandle.value, pUnderExposureThreshold);
        if (err != FaceError.success.value) {
          throw FaceException(err);
        }
        final vUnderExposureThreshold = pUnderExposureThreshold.value;
        return vUnderExposureThreshold;
      } finally {
        calloc.free(pUnderExposureThreshold);
      }
    }