1234567891011121314151617181920212223242526272829303132333435363738 |
- // Copyright © 2014-2024 PDF Technologies, Inc. All Rights Reserved.
- //
- // THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
- // AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
- // UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
- // This notice may not be removed from this file.
- //
- #import <React/RCTBridgeModule.h>
- @interface RCT_EXTERN_MODULE(ComPDFKit, NSObject)
- RCT_EXTERN_METHOD(getVersionCode:(RCTPromiseResolveBlock)resolve
- withRejecter:(RCTPromiseRejectBlock)reject)
- RCT_EXTERN_METHOD(getSDKBuildTag:(RCTPromiseResolveBlock)resolve
- withRejecter:(RCTPromiseRejectBlock)reject)
- RCT_EXTERN_METHOD(init_:(NSString *)license
- withResolver:(RCTPromiseResolveBlock)resolve
- withRejecter:(RCTPromiseRejectBlock)reject)
- RCT_EXTERN_METHOD(initialize:(NSString *)androidOnlineLicense
- iosOnlineLicense:(NSString *)iosOnlineLicense
- withResolver:(RCTPromiseResolveBlock)resolve
- withRejecter:(RCTPromiseRejectBlock)reject)
- RCT_EXTERN_METHOD(openDocument:(NSURL *)document
- password:(NSString *)password
- configurationJson:(NSString *)configurationJson)
- + (BOOL)requiresMainQueueSetup
- {
- return NO;
- }
- @end
|