getConfidence method
Gets the confidence score for the value read from the text field.
return Confidence score for the value read from the text field. throws DocumentException An error has occurred during Document Library execution.
Implementation
double getConfidence() {
Pointer<Float> pConfidence = calloc();
try {
var err = documentSDK.id3DocumentTextField_GetConfidence(_pHandle.value, pConfidence);
if (err != DocumentError.success.value) {
throw DocumentException(err);
}
final vConfidence = pConfidence.value;
return vConfidence;
} finally {
calloc.free(pConfidence);
}
}