• BlackBerry Dynamics
  • Runtime library for iOS applications
  • 7.1.0.193
platform/apple/ios/build/GD.framework/Headers/GDLogManager.h
Go to the documentation of this file.
1 /*
2  * (c) 2017 BlackBerry Limited. All rights reserved.
3  */
4 
5 #import <Foundation/Foundation.h>
6 
18 typedef NS_ENUM(NSInteger, GDLogUploadState)
19 {
25 
29 
33 
39 
43 
47 };
48 
55 extern NSString * const GDLogUploadNotification;
56 
64 extern const NSTimeInterval GDLogManagerDetailedMaximumDuration;
65 
131 @interface GDLogManager : NSObject
132 
137 @property (nonatomic, readonly) GDLogUploadState uploadState;
138 
144 @property (nonatomic, readonly) NSInteger uploadBytesSent;
145 
150 @property (nonatomic, readonly) NSInteger uploadBytesTotal;
151 
160 + (instancetype)sharedInstance;
161 
197 - (BOOL)startUpload;
198 
209 - (BOOL)cancelUpload;
210 
221 - (BOOL)suspendUpload;
222 
232 - (BOOL)resumeUpload;
233 
279 - (BOOL)detailedLoggingFor:(NSTimeInterval) duration;
280 
281 #if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
282 
300 - (void) openLogUploadUI;
301 #endif
302 @end
GDLogManager::uploadBytesSent
NSInteger uploadBytesSent
Amount of activity log data uploaded so far.
Definition: platform/apple/ios/build/GD.framework/Headers/GDLogManager.h:144
-[GDLogManager cancelUpload]
BOOL cancelUpload()
Cancel activity log upload.
GDLogUploadStateIdle
@ GDLogUploadStateIdle
Log upload hasn't been started.
Definition: platform/apple/ios/build/GD.framework/Headers/GDLogManager.h:24
+[GDLogManager sharedInstance]
instancetype sharedInstance()
Get a reference to the BlackBerry Dynamics activity log manager object.
GDLogUploadState
GDLogUploadState
BlackBerry Dynamics log upload state.
Definition: platform/apple/ios/build/GD.framework/Headers/GDLogManager.h:18
GDLogUploadStateResumed
@ GDLogUploadStateResumed
Log upload was suspended but has now been resumed.
Definition: platform/apple/ios/build/GD.framework/Headers/GDLogManager.h:46
GDLogManager::uploadBytesTotal
NSInteger uploadBytesTotal
Total amount of activity log data to upload.
Definition: platform/apple/ios/build/GD.framework/Headers/GDLogManager.h:150
GDLogUploadStateCancelled
@ GDLogUploadStateCancelled
The last log upload operation was cancelled.
Definition: platform/apple/ios/build/GD.framework/Headers/GDLogManager.h:38
GDLogUploadNotification
NSString *const GDLogUploadNotification
Notification name for BlackBerry Dynamics activity log upload progress.
-[GDLogManager openLogUploadUI]
void openLogUploadUI()
Open the built-in activity log upload user interface.
GDLogManager
BlackBerry Dynamics log manager.
Definition: platform/apple/ios/build/GD.framework/Headers/GDLogManager.h:131
GDLogManagerDetailedMaximumDuration
const NSTimeInterval GDLogManagerDetailedMaximumDuration
Maximum duration of user detailed logging.
-[GDLogManager startUpload]
BOOL startUpload()
Upload current activity logs.
GDLogUploadStateCompleted
@ GDLogUploadStateCompleted
Log upload has finished.
Definition: platform/apple/ios/build/GD.framework/Headers/GDLogManager.h:32
GDLogUploadStateSuspended
@ GDLogUploadStateSuspended
Log upload has been started but is currently suspended.
Definition: platform/apple/ios/build/GD.framework/Headers/GDLogManager.h:42
-[GDLogManager resumeUpload]
BOOL resumeUpload()
Resume activity log upload.
-[GDLogManager suspendUpload]
BOOL suspendUpload()
Suspend activity log upload.
GDLogManager::uploadState
GDLogUploadState uploadState
Current activity log upload state.
Definition: platform/apple/ios/build/GD.framework/Headers/GDLogManager.h:137
GDLogUploadStateInProgress
@ GDLogUploadStateInProgress
Log upload has been started and is now underway.
Definition: platform/apple/ios/build/GD.framework/Headers/GDLogManager.h:28