Package 

Object DocutainSDK

    • Method Detail

      • initSDK

         final static Boolean initSDK(Application context, String licenseKey)

        Initializes the Docutain SDK.

        This method needs to be called prior to using any functionality of the Docutain SDK. Put it in your Application class onCreate method.

        Parameters:
        context - the Application context.
        licenseKey - your Docutain SDK license key.
      • version

         final static Integer version()

        This method returns the currently used Docutain SDK version.

      • getLastError

         final static String getLastError()

        This method returns the latest error message, if any error occurred.

      • deleteTempFiles

         final static Boolean deleteTempFiles(Boolean deleteTraceFileContent)

        This method deletes all temporary files created by the Docutain SDK.

        Parameters:
        deleteTraceFileContent - If true, the content of the Trace file which you can send us in order to solve any problems will also be deleted