eu.id3.bioseal

## Class LogItem

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

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

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

  Represents a log item.
  See Also:
    Serialized Form

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()` Releases all resources used by this LogItem.
    `protected void` | `finalize()` Finalizer for this class.
    `BiosealError` | `getErrorCode()` Gets the the log item error code if any.
    `long` | `getHandle()` Gets the native handle.
    `LogItemType` | `getItemType()` Gets the the log type.
    `java.lang.String` | `getMessage()` Gets the the log message.
    `long` | `getTimestamp()` Gets the the timestamp of the message.

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

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

- - ### Constructor Detail

    - #### LogItem

          public LogItem()
                  throws BiosealException

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

    - #### LogItem

          public LogItem(long handle)
                  throws BiosealException

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

  - ### Method Detail

    - #### close

          public void close()

      Releases all resources used by this LogItem.
      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.

    - #### getTimestamp

          public long getTimestamp()
                            throws BiosealException

      Gets the the timestamp of the message.
      Returns:
        The timestamp of the message.
      Throws:
        `BiosealException` - An error has occurred during Bioseal Library execution.

    - #### getMessage

          public java.lang.String getMessage()
                                      throws BiosealException

      Gets the the log message.
      Returns:
        The log message.
      Throws:
        `BiosealException` - An error has occurred during Bioseal Library execution.

    - #### getItemType

          public LogItemType getItemType()
                                  throws BiosealException

      Gets the the log type.
      Returns:
        The log type.
      Throws:
        `BiosealException` - An error has occurred during Bioseal Library execution.

    - #### getErrorCode

          public BiosealError getErrorCode()
                                    throws BiosealException

      Gets the the log item error code if any.
      Returns:
        The log item error code if any.
      Throws:
        `BiosealException` - An error has occurred during Bioseal Library execution.

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