Package io.anyline2.core
Class PublicLicense
- java.lang.Object
-
- io.anyline2.core.PublicLicense
-
public class PublicLicense extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PublicLicense()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
static java.lang.String
getLicenseString()
static java.lang.String
getVersionString()
static void
init(java.lang.String licenseKey, java.lang.String checkPath, java.lang.String appIdentifier, java.lang.String hash)
static void
init(java.lang.String licenseKey, java.lang.String checkPath, java.lang.String appIdentifier, java.lang.String platform, java.lang.String hash)
static boolean
isInitialized()
static boolean
isLicenseValid()
static void
reset()
static boolean
showPopup()
static boolean
showWatermark()
-
-
-
Method Detail
-
delete
public void delete()
-
isLicenseValid
public static boolean isLicenseValid()
-
getVersionString
public static java.lang.String getVersionString()
-
init
public static void init(java.lang.String licenseKey, java.lang.String checkPath, java.lang.String appIdentifier, java.lang.String hash) throws LicenseException
- Throws:
LicenseException
-
init
public static void init(java.lang.String licenseKey, java.lang.String checkPath, java.lang.String appIdentifier, java.lang.String platform, java.lang.String hash) throws LicenseException
- Throws:
LicenseException
-
isInitialized
public static boolean isInitialized()
-
reset
public static void reset()
-
getLicenseString
public static java.lang.String getLicenseString()
-
showWatermark
public static boolean showWatermark()
-
showPopup
public static boolean showPopup()
-
-