Package com.castlabs
Class ManifestLicenseLoader
java.lang.Object
com.castlabs.ManifestLicenseLoader
- All Implemented Interfaces:
- LicenseLoader
Implementation of the 
LicenseLoader that will return license data from the
 Manifest meta-data. You need to add a meta-data entry in your manifest using the key
 castlabs-license, for example:
 
 <application>
     ...
     <meta-data
         android:name="castlabs-license"
         android:value="..." />
 </application>
 - Since:
- 3.3.0
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbyte[]This method must find the license file and return its bytes or throw an Exception if the license data could not be loaded.
- 
Constructor Details- 
ManifestLicenseLoader
 
- 
- 
Method Details- 
getLicenseDataDescription copied from interface:LicenseLoaderThis method must find the license file and return its bytes or throw an Exception if the license data could not be loaded.- Specified by:
- getLicenseDatain interface- LicenseLoader
- Returns:
- license the byte representation of the license file
- Throws:
- Exception- in case the license data could not be loaded
 
 
-