Package com.castlabs
Class SimpleLicenseLoader
java.lang.Object
com.castlabs.SimpleLicenseLoader
- All Implemented Interfaces:
 LicenseLoader
Implementation of the 
LicenseLoader that will return license data as passed in
 the constructor.- Since:
 - 3.3.0
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionSimpleLicenseLoader(byte[] licenseData) Creates a new instance of this license loader.SimpleLicenseLoader(String licenseData) Creates a new instance of this license loader. - 
Method Summary
Modifier and TypeMethodDescriptionbyte[]Returns the license data that was passed in the constructor. 
- 
Constructor Details
- 
SimpleLicenseLoader
Creates a new instance of this license loader.- Parameters:
 licenseData- The license data to be returned by this loader.
 - 
SimpleLicenseLoader
public SimpleLicenseLoader(@NonNull byte[] licenseData) Creates a new instance of this license loader.- Parameters:
 licenseData- The license data to be returned by this loader.
 
 - 
 - 
Method Details
- 
getLicenseData
Returns the license data that was passed in the constructor.- Specified by:
 getLicenseDatain interfaceLicenseLoader- Returns:
 - The license data.
 - Throws:
 Exception- If an error occurs.
 
 -