Class License


  • public final class License
    extends Object
    Provides license validation.
    • Method Detail

      • getIsValid

        public static boolean getIsValid()
        Gets a value indicating whether a license has been successfully validated or not.
      • invalidate

        public static void invalidate()
        Resets any previous validation. This is typically only used for testing.
      • validate

        public static void validate​(String key)
        Validates the library. This should be called before using the library.
        Parameters:
        key - The license key received when purchasing the product.