eu.id3.bioseal

## Class BiometricVerificationRule

- java.lang.Object
- - eu.id3.bioseal.BiometricVerificationRule

- All Implemented Interfaces:
    java.io.Serializable, java.lang.AutoCloseable

      public class BiometricVerificationRule
      extends java.lang.Object
      implements java.lang.AutoCloseable, java.io.Serializable

  Represents a biometric verification rule.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BiometricVerificationRule()` Creates a new instance of the BiometricVerificationRule class.
    `BiometricVerificationRule(long handle)` Creates a new instance of the BiometricVerificationRule class.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()` Releases all resources used by this BiometricVerificationRule.
    `protected void` | `finalize()` Finalizer for this class.
    `int` | `getCount()` Gets the the number of biometric samples of the specified type to be verified.
    `BiometricDataType` | `getDataType()` Gets the the type of biometric data to be used for verification.
    `long` | `getHandle()` Gets the native handle.
    `int` | `getThreshold()` Gets the the biometric decision threshold.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BiometricVerificationRule

          public BiometricVerificationRule()
                                    throws BiosealException

      Creates a new instance of the BiometricVerificationRule class.
      Throws:
        `BiosealException` - An error has occurred during Bioseal Library execution.

    - #### BiometricVerificationRule

          public BiometricVerificationRule(long handle)
                                    throws BiosealException

      Creates a new instance of the BiometricVerificationRule class.
      Parameters:
        `handle` - Handle to the BiometricVerificationRule.
      Throws:
        `BiosealException` - An error has occurred during Bioseal Library execution.

  - ### Method Detail

    - #### close

          public void close()

      Releases all resources used by this BiometricVerificationRule.
      Specified by:
        `close` in interface `java.lang.AutoCloseable`

    - #### finalize

          protected void finalize()

      Finalizer for this class. Finalizers are deprecated since Java 9+. This method is not guaranteed to be called. To release all memory held by this class please be sure to call the close() method.
      Overrides:
        `finalize` in class `java.lang.Object`

    - #### getHandle

          public long getHandle()

      Gets the native handle.
      Returns:
        The native handle.

    - #### getDataType

          public BiometricDataType getDataType()
                                        throws BiosealException

      Gets the the type of biometric data to be used for verification.
      Returns:
        The type of biometric data to be used for verification.
      Throws:
        `BiosealException` - An error has occurred during Bioseal Library execution.

    - #### getCount

          public int getCount()
                       throws BiosealException

      Gets the the number of biometric samples of the specified type to be verified.
      Returns:
        The number of biometric samples of the specified type to be verified.
      Throws:
        `BiosealException` - An error has occurred during Bioseal Library execution.

    - #### getThreshold

          public int getThreshold()
                           throws BiosealException

      Gets the the biometric decision threshold.
      Returns:
        The biometric decision threshold.
      Throws:
        `BiosealException` - An error has occurred during Bioseal Library execution.

Copyright © 2020-2030, id3 Technologies. All rights reserved. eu.id3.bioseal