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 Integer version()

        This method returns the currently used Docutain SDK version.

      • pageCount

         final Integer pageCount()

        This method returns the page count of the currently loaded document.

      • getTraceFile

         final static File getTraceFile()

        This method returns the Trace file which includes logging and error messages.

      • getLastError

         final static String getLastError()

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