Class ScanbotSDK


  • public class ScanbotSDK
    extends java.lang.Object
    The class is responsible for initializing the Scanbot SDK functionality and managing global SDK settings.
    • Constructor Summary

      Constructors 
      Constructor Description
      ScanbotSDK()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static LicenseStatus getLicenseStatus()
      Returns the current license status.
      static boolean initialize​(java.lang.String licenceKey)
      Initializes the Scanbot SDK with the given license key.
      static void setLogging​(boolean enable)
      Sets the logging state of the SDK.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScanbotSDK

        public ScanbotSDK()
    • Method Detail

      • initialize

        public static boolean initialize​(java.lang.String licenceKey)
        Initializes the Scanbot SDK with the given license key. Should be called before creating any other SDK objects.
        Parameters:
        licenceKey - The license key that was provided to you.
        Returns:
        True if the SDK was successfully initialized, false otherwise.
      • getLicenseStatus

        public static LicenseStatus getLicenseStatus()
        Returns the current license status.
        Returns:
        The current license status.
      • setLogging

        public static void setLogging​(boolean enable)
        Sets the logging state of the SDK.
        Parameters:
        enable - If true, the SDK will log messages to the console.