Package com.microblink.blinkid.entities.recognizers.blinkid.imageoptions.dpi

# Class DpiOptionsUtils

java.lang.Object
com.microblink.blinkid.entities.recognizers.blinkid.imageoptions.dpi.DpiOptionsUtils

public final class DpiOptionsUtils extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DpiOptionsUtils()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static void`
  `checkDpiRange(int desiredDPI)`
  Util method for checking `desiredDPI` value which must be in interval [100, 400].

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

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

- ## Constructor Details

  - ### DpiOptionsUtils

    public DpiOptionsUtils()

- ## Method Details

  - ### checkDpiRange

    public static void checkDpiRange(@IntRange(from=100L,to=400L) int desiredDPI)
    Util method for checking `desiredDPI` value which must be in interval [100, 400].
    Parameters:
      `desiredDPI` - DPI value to check, must be in interval [100, 400].
    Throws:
      `IllegalArgumentException` - if the passed `desiredDPI` is not in range [100, 400].