#import <LicenseLoader.h>
LicenseLoader class provides the means to load your license.
◆ loadLicenseFromFileAtPath:withError:()
- (BOOL) loadLicenseFromFileAtPath: |
|
(NSString *_Nonnull) |
licenseFilePath |
withError: |
|
(NSError *_Nullable *_Nullable) |
error |
|
|
| |
Loads license from the given file path
- Parameters
-
licenseFilePath | The path of the license file to load |
error | The error representing the reason for the load failure |
- Returns
- True if license loading was successful, false in case an error occured
◆ loadLicenseFromString:withError:()
- (BOOL) loadLicenseFromString: |
|
(NSString *_Nonnull) |
licenseString |
withError: |
|
(NSError *_Nullable *_Nullable) |
error |
|
|
| |
Loads license from the given string
- Parameters
-
licenseString | The license string to load |
error | The error representing the reason for the load failure |
- Returns
- True if license loading was successful, false in case an error occured
◆ sharedInstanceWithError:()
+ (instancetype _Nullable) sharedInstanceWithError: |
|
(NSError *_Nullable *_Nullable) |
error |
|
Returns the singleton object of this class
- Parameters
-
error | The error representing the reason for the failure |
- Returns
- The singleton object of this class
The documentation for this class was generated from the following file: