• BlackBerry Dynamics
  • Runtime library for iOS applications
  • 11.0.1.151
platform/apple/ios/build/GD.framework/Headers/GDDiagnostic.h
Go to the documentation of this file.
1 /*
2  * (c) 2017 BlackBerry Limited. All rights reserved.
3  *
4  */
5 
6 #ifndef GDDiagnostic_h
7 #define GDDiagnostic_h
8 
29 @interface GDDiagnostic : NSObject
30 
42 typedef NS_ENUM(NSInteger, GDDiagnosticReachabilityErrorType)
43 {
47 
51 
55 
59 };
60 
64 #pragma mark Singleton
65 
74 + (GDDiagnostic *)sharedInstance;
75 
76 
77 #pragma mark Reachability
78 
94 typedef void (^GDDiagnosticReachabilityResultsBlock)(NSString* results,
95  NSInteger requestID);
146 - (NSInteger)checkApplicationServerReachability:(NSString*)host
147  withPort:(NSInteger)port
148  useSSL:(BOOL)ssl
149  validateCertificate:(BOOL)validateCertificate
150  withTimeOut:(NSTimeInterval)timeOut
151  callbackBlock:(GDDiagnosticReachabilityResultsBlock)block;
152 
192 - (NSArray*)checkManagementConsoleReachability:(NSTimeInterval)timeOut
193  callbackBlock:(GDDiagnosticReachabilityResultsBlock)block;
194 
195 #pragma mark Configs
196 
204 @property (nonatomic, readonly) NSString* currentSettings;
205 
206 @end
207 
208 #endif /* GDDiagnostic_h */
GDDiagnostic
BlackBerry Dynamics diagnostic checks and information.
Definition: platform/apple/ios/build/GD.framework/Headers/GDDiagnostic.h:29
GDDiagnostic::GDDiagnosticNoNetwork
@ GDDiagnosticNoNetwork
No network connection.
Definition: platform/apple/ios/build/GD.framework/Headers/GDDiagnostic.h:50
GDDiagnostic::GDDiagnosticNetworkChange
@ GDDiagnosticNetworkChange
Network changed during reachability check.
Definition: platform/apple/ios/build/GD.framework/Headers/GDDiagnostic.h:54
GDDiagnostic::GDDiagnosticNoError
@ GDDiagnosticNoError
No error.
Definition: platform/apple/ios/build/GD.framework/Headers/GDDiagnostic.h:46
GDDiagnostic::GDDiagnosticTimedOut
@ GDDiagnosticTimedOut
Time out expired before reachability results could be generated.
Definition: platform/apple/ios/build/GD.framework/Headers/GDDiagnostic.h:58