# getDataType method

BiometricDataType getDataType()

Gets the the type of biometric data to be used for verification.

return The type of biometric data to be used for verification. throws BiosealException An error has occurred during Bioseal Library execution.

## Implementation

    BiometricDataType getDataType() {
      Pointer<Int32> pDataType = calloc();
      try {
        var err = biosealSDK.id3BiosealBiometricVerificationRule_GetDataType(_pHandle.value, pDataType);
        if (err != BiosealError.success.value) {
          throw BiosealException(err);
        }
        final vDataType = BiometricDataTypeX.fromValue(pDataType.value);
        return vDataType;
      } finally {
        calloc.free(pDataType);
      }
    }