Class VerifierSDK

  • All Implemented Interfaces:

    
    public final class VerifierSDK
    
                        

    Main SDK static class that provides SDK initialization.

    There are two methods for initializing the SDK

    • initWithLicenseKey is used when you are provided the license key string. This method requires internet connection. When the initialization is done, the onInitSDK method of the InitSDKCallback is called with the VerifierSDKStatus as argument.
    • initWithLicense is used when you are provided the license file. It requires the license file to be passed as an android resource. This method does not require internet connection. When called, the method returns the VerifierSDKStatus.
    • Constructor Detail

    • Method Detail

      • cacheLicense

         static void cacheLicense(boolean cacheLicense)

        Sets the license caching. If set to true, the license will be cached in the application cache directory. This is useful when you want to avoid network calls on every application start.

        The default value is false.

        This method should be called before [VerifierSDK.initWithLicenseKey] is called.

        Parameters:
        cacheLicense - true if the license should be cached, false otherwise