Atalasoft MobileImage API Reference
kfxKUTAppStatisticsDelegate.h
Go to the documentation of this file.
1 // Kofax Mobile Capture API Reference File
2 //
3 // kfxKUTAppStatisticsDelegate.h
4 //
5 // Copyright (c) 2012 - 2017 Kofax. Use of this code is with permission pursuant to Kofax license terms.
6 //
7 
8 #import <Foundation/Foundation.h>
9 
11 /* Enum identifying export status events */
12 typedef NS_ENUM(NSUInteger, KUTappStatsExport) {
16 };
17 
19 /* Enum identifying export status events */
20 typedef NS_ENUM(NSUInteger, KUTappStatsWriteFile) {
24 };
25 
26 
28 /* Enum identifying either file or memory operations when report size events */
29 typedef NS_ENUM(NSUInteger, KUTappStatsThreshold) {
32 };
33 
35 /* Enum identifying the AppStats export format */
36 typedef NS_ENUM(NSUInteger, KUTappStatsExportFormat) {
39 };
40 
41 @protocol kfxKUTAppStatisticsDelegate<NSObject>
42 
43 @required
44 
45 
47 /* Report the status of a writeToFile operation */
48 - (void) writeFileStatusEvent : (KUTappStatsWriteFile) type andProgress : (int) percentComplete withError: (int) errorCode withMsg: (NSString *) errorMsg;
49 
51 /* Report the status of an export operation */
52 - (void) exportStatusEvent : (KUTappStatsExport) type andProgress : (int) percentComplete withError: (int) errorCode withMsg: (NSString *) errorMsg;
53 
54 @optional
55 
57 - (NSString *) formatExportRow:(NSString *) tableName withFields:(NSMutableArray *) daoFields;
58 
60 /* Report size threshold events to the application */
61 - (void) sizeThresholdReached : (KUTappStatsThreshold) type andSize : (int) size;
62 
63 
64 @end
KUTappStatsWriteFile
The KUTappStatsWriteFile enum is used to identify status values for the writeFileStatusEvent delegate...
Definition: kfxKUTAppStatisticsDelegate.h:20
Definition: kfxKUTAppStatisticsDelegate.h:13
Definition: kfxKUTAppStatisticsDelegate.h:31
Definition: kfxKUTAppStatisticsDelegate.h:15
Definition: kfxKUTAppStatisticsDelegate.h:21
KUTappStatsExportFormat
The KUTappStatsExportFormat enum is used to identify the desired format for AppStats export operation...
Definition: kfxKUTAppStatisticsDelegate.h:36
Definition: kfxKUTAppStatisticsDelegate.h:23
Definition: kfxKUTAppStatisticsDelegate.h:14
Definition: kfxKUTAppStatisticsDelegate.h:30
Definition: kfxKUTAppStatisticsDelegate.h:37
KUTappStatsExport
The KUTappStatsExport enum is used to identify status values for the exportStatusEvent delegate (indi...
Definition: kfxKUTAppStatisticsDelegate.h:12
Definition: kfxKUTAppStatisticsDelegate.h:38
Definition: kfxKUTAppStatisticsDelegate.h:41
KUTappStatsThreshold
The KUTappStatsThreshold enum is used to identify status values for the sizeThreshold delegate (indic...
Definition: kfxKUTAppStatisticsDelegate.h:29
Definition: kfxKUTAppStatisticsDelegate.h:22
Untitled Document © 2017 Atalasoft, Inc., 116 Pleasant St, Suite 321, Easthampton, MA 01027, U.S.A. All rights reserved. Use is subject to license terms.