Package com.microblink.blinkid.entities.detectors.quad

# Class Specification

java.lang.Object
com.microblink.blinkid.entities.detectors.quad.Specification

Direct Known Subclasses:
  `MrtdSpecification`

public abstract class Specification extends Object
Base class for all specifications that can be used for detection.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected long`
  `mNativeContext`

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `Specification(long nativeContext, boolean ownNative)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected void`
  `finalize()`
  `float`
  `getPhysicalHeightInInches()`
  Returns physical height in inches of the detection location defined by this specification.
  `protected abstract void`
  `terminateNative(long nativeContext)`

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

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

- ## Field Details

  - ### mNativeContext

    protected long mNativeContext

- ## Constructor Details

  - ### Specification

    protected Specification(long nativeContext, boolean ownNative)

- ## Method Details

  - ### terminateNative

    protected abstract void terminateNative(long nativeContext)

  - ### finalize

    protected void finalize() throws Throwable
    Overrides:
      `finalize` in class `Object`
    Throws:
      `Throwable`

  - ### getPhysicalHeightInInches

    public float getPhysicalHeightInInches()
    Returns physical height in inches of the detection location defined by this specification.
    Returns:
      physical height in inches of the detection location defined by this specification.