Foxit PDF SDK
9.1
|
Instance Methods | |
(void) | - clearAllCacheFile |
Clear all files cached by SDK. More... | |
(void) | - clearCacheFile: |
Clear the cache file. More... | |
(void) | - openDocAtURL:password:completion: |
Open PDF document from a specified URL. This function is deprecated, it will be removed in future. More... | |
(void) | - openDocFromURL:password:cacheOption:httpRequestProperties:completion: |
Open PDF document from a specified URL. More... | |
- (void) clearAllCacheFile |
Clear all files cached by SDK.
Extends class FSPDFViewCtrl.
- (void) clearCacheFile: | (NSString *) | url |
- (void) openDocAtURL: | (NSURL *) | url | |
password: | (NSString *) | password | |
completion: | (void(^)(FSErrorCode error)) | completion | |
Open PDF document from a specified URL. This function is deprecated, it will be removed in future.
[in] | url | PDF URL. |
[in] | password | The password string, used to load the PDF document content. It can be either user password or owner password. Set it to nil if the password is unknown. |
[in] | completion | The callback will be called when current document object becomes available or the view control fail to open the document. |
Note that it will create a temporary file as cache for downloading the PDF file. The cache will be removed after closing the document.
Extends class FSPDFViewCtrl.
- (void) openDocFromURL: | (NSURL *) | url | |
password: | (NSString *) | password | |
cacheOption: | (nullable CacheFileOption *) | cacheOption | |
httpRequestProperties: | (nullable HttpRequestProperties *) | properties | |
completion: | (void(^)(FSErrorCode error)) | completion | |
Open PDF document from a specified URL.
[in] | url | PDF URL. |
[in] | password | The password string, used to load the PDF document content. It can be either user password or owner password. Set it to nil if the password is unknown. |
[in] | cacheOption | The cache option. Please refer to FSCacheFileOption. |
[in] | completion | The callback will be called when current document object becomes available or the view control fail to open the document. |
Note that it will create a temporary file as cache for downloading the PDF file. The cache will be removed after the document closed.
Extends class FSPDFViewCtrl.