Package io.scanbot.sdk
Class ScanbotSDK
- java.lang.Object
-
- io.scanbot.sdk.ScanbotSDK
-
public class ScanbotSDK extends java.lang.ObjectThe 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 LicenseStatusgetLicenseStatus()Returns the current license status.static booleaninitialize(java.lang.String licenceKey)Initializes the Scanbot SDK with the given license key.static voidsetLogging(boolean enable)Sets the logging state of the SDK.
-
-
-
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.
-
-