get method

BiometricVerificationRule get(
  1. int index
)

Gets an item of the BiometricVerificationRules object.

param index Index of the BiometricVerificationRule item to get. return BiometricVerificationRule item to get. throws BiosealException An error has occurred during Bioseal Library execution.

Implementation

BiometricVerificationRule get(int index) {
  BiometricVerificationRule biometricVerificationRuleItem = BiometricVerificationRule();
  var err = biosealSDK.id3BiosealBiometricVerificationRules_Get(_pHandle.value, index, biometricVerificationRuleItem.handle);
  if (err != BiosealError.success.value) {
    biometricVerificationRuleItem.dispose();
    throw BiosealException(err);
  }
  return biometricVerificationRuleItem;
}