#import <OOIQOfflineManager.h>
- (void) createOfflineFile: |
|
(NSString *) |
embedCode |
data: |
|
(NSArray *) |
data |
|
|
| |
Creates a new file for offline Analytics.
- Parameters
-
[in] | embedCode | of the current asset |
[in] | data | of the current asset |
- (NSData *) dataFromFile: |
|
(NSString *) |
filename |
|
Get the data from the specific file.
- Parameters
-
[in] | filename | of the offline file |
- Returns
- a string with the data
- (void) deleteFile: |
|
(NSString *) |
embedCode |
|
Delete the file for the offline analytics.
- Parameters
-
[in] | embedCode | of the offline file |
+ (NSString *) directoryPath |
|
|
|
Returns the path where the offline analytics will be stored.
- Returns
- a string with the path
Provided by category OOIQOfflineManager(Internal).
- (BOOL) fileExists: |
|
(NSString *) |
embedCode |
|
Verify if file exists in device.
- Parameters
-
[in] | embedCode | of the offline file |
- Returns
- YES if the file exists
- (instancetype) NS_UNAVAILABLE |
|
|
|
- (NSArray *) offlineAnalyticsFilenames |
|
|
|
Get all the offline files for Analytics.
- Returns
- an array with all the offline files for Analytics
+ (instancetype) sharedInstance |
|
|
|
Initializes the IQ Offline Manager.
- Returns
- the initialized IQ Offline Manager
- (void) writeDataToFile: |
|
(NSString *) |
embedCode |
data: |
|
(NSData *) |
data |
|
|
| |
Save the given action into a file.
- Parameters
-
[in] | embedCode | of the current asset |
[in] | data | with the action and arguments |
The documentation for this class was generated from the following file: