• BlackBerry Dynamics
  • Runtime library for iOS applications
  • 12.0.1.79
platform/apple/ios/build/BlackBerryDynamics.framework/Headers/GDLogManager.h
Go to the documentation of this file.
1 /*
2  * Copyright 2023 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 
72 @interface GDLogManager : NSObject
73 
78 @property (nonatomic, readonly) GDLogUploadState uploadState;
79 
85 @property (nonatomic, readonly) NSInteger uploadBytesSent;
86 
91 @property (nonatomic, readonly) NSInteger uploadBytesTotal;
92 
101 + (instancetype)sharedInstance;
102 
138 - (BOOL)startUpload;
139 
150 - (BOOL)cancelUpload;
151 
162 - (BOOL)suspendUpload;
163 
173 - (BOOL)resumeUpload;
174 
220 - (BOOL)detailedLoggingFor:(NSTimeInterval) duration;
221 
222 #if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
223 
241 - (BOOL)openLogUploadUI;
242 #endif
243 @end
GDLogUploadStateSuspended
@ GDLogUploadStateSuspended
Log upload has been started but is currently suspended.
Definition: platform/apple/ios/build/BlackBerryDynamics.framework/Headers/GDLogManager.h:42
GDLogManager::uploadBytesSent
NSInteger uploadBytesSent
Amount of activity log data uploaded so far.
Definition: platform/apple/ios/build/BlackBerryDynamics.framework/Headers/GDLogManager.h:85
-[GDLogManager cancelUpload]
BOOL cancelUpload()
Cancel activity log upload.
GDLogUploadState
GDLogUploadState
BlackBerry Dynamics log upload state.
Definition: platform/apple/ios/build/BlackBerryDynamics.framework/Headers/GDLogManager.h:18
GDLogUploadStateIdle
@ GDLogUploadStateIdle
Log upload hasn't been started.
Definition: platform/apple/ios/build/BlackBerryDynamics.framework/Headers/GDLogManager.h:24
+[GDLogManager sharedInstance]
instancetype sharedInstance()
Get a reference to the BlackBerry Dynamics activity log manager object.
GDLogManagerDetailedMaximumDuration
const NSTimeInterval GDLogManagerDetailedMaximumDuration
Maximum duration of user detailed logging.
GDLogUploadStateInProgress
@ GDLogUploadStateInProgress
Log upload has been started and is now underway.
Definition: platform/apple/ios/build/BlackBerryDynamics.framework/Headers/GDLogManager.h:28
GDLogUploadStateCompleted
@ GDLogUploadStateCompleted
Log upload has finished.
Definition: platform/apple/ios/build/BlackBerryDynamics.framework/Headers/GDLogManager.h:32
GDLogManager::uploadBytesTotal
NSInteger uploadBytesTotal
Total amount of activity log data to upload.
Definition: platform/apple/ios/build/BlackBerryDynamics.framework/Headers/GDLogManager.h:91
GDLogUploadNotification
NSString *const GDLogUploadNotification
Notification name for BlackBerry Dynamics activity log upload progress.
GDLogManager
BlackBerry Dynamics log manager.
Definition: platform/apple/ios/build/BlackBerryDynamics.framework/Headers/GDLogManager.h:72
-[GDLogManager startUpload]
BOOL startUpload()
Upload current activity logs.
GDLogUploadStateResumed
@ GDLogUploadStateResumed
Log upload was suspended but has now been resumed.
Definition: platform/apple/ios/build/BlackBerryDynamics.framework/Headers/GDLogManager.h:46
-[GDLogManager resumeUpload]
BOOL resumeUpload()
Resume activity log upload.
-[GDLogManager openLogUploadUI]
BOOL openLogUploadUI()
Open the built-in activity log upload user interface.
-[GDLogManager suspendUpload]
BOOL suspendUpload()
Suspend activity log upload.
GDLogUploadStateCancelled
@ GDLogUploadStateCancelled
The last log upload operation was cancelled.
Definition: platform/apple/ios/build/BlackBerryDynamics.framework/Headers/GDLogManager.h:38
GDLogManager::uploadState
GDLogUploadState uploadState
Current activity log upload state.
Definition: platform/apple/ios/build/BlackBerryDynamics.framework/Headers/GDLogManager.h:78