You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
680 B

  1. //
  2. // RSLicenseUtil.h
  3. // RSLicenseSDK
  4. // Copyright © 2018년 RAONSECURE All rights reserved.
  5. //
  6. #import <Foundation/Foundation.h>
  7. #import "RSLicense.h"
  8. #import "ErrorCode.h"
  9. @interface RSLicenseChecker : NSObject <NSURLSessionDelegate> {
  10. RSLicense *mRSLicenseData;
  11. RSLicenseInfo *mRSLicenseInfo;
  12. RSLicenseSchema *mRSLicenseSchema;
  13. RSFeature *mRSFreature;
  14. }
  15. + (RSLicenseChecker *) sharedInstance;
  16. - (int)checkLicenseFile:(NSString *)filePath;
  17. - (BOOL)doubleCheckLicense;
  18. - (void)requestLicense:(NSString *)serverUrl withSuccessBlock:(void (^)(int resultCode))aSuccessEvent errorBlock:(void (^)(int resultCode))aFailEvent;
  19. - (RSLicense *)getRaonLicense;
  20. @end