getCount method

int getCount()

Gets the number of elements in the BiometricVerificationRules object.

return Number of elements in the BiometricVerificationRule object. throws BiosealException An error has occurred during Bioseal Library execution.

Implementation

int getCount() {
  Pointer<Int> pCount = calloc();
  try {
    var err = biosealSDK.id3BiosealBiometricVerificationRules_GetCount(_pHandle.value, pCount);
    if (err != BiosealError.success.value) {
      throw BiosealException(err);
    }
    final vCount = pCount.value;
    return vCount;
  } finally {
    calloc.free(pCount);
  }
}