• BlackBerry Dynamics
  • Runtime library for iOS applications
  • 12.0.1.79
platform/apple/ios/build/BlackBerryDynamics.framework/Headers/GDDiagnostic.h
Go to the documentation of this file.
1 /*
2  * Copyright 2023 BlackBerry Limited. All rights reserved.
3  *
4  */
5 
6 #ifndef GDDiagnostic_h
7 #define GDDiagnostic_h
8 
15 @interface GDDiagnostic : NSObject
16 
28 typedef NS_ENUM(NSInteger, GDDiagnosticReachabilityErrorType)
29 {
33 
37 
41 
45 };
46 
50 #pragma mark Singleton
51 
60 + (GDDiagnostic *)sharedInstance;
61 
62 
63 #pragma mark Reachability
64 
80 typedef void (^GDDiagnosticReachabilityResultsBlock)(NSString* results,
81  NSInteger requestID);
132 - (NSInteger)checkApplicationServerReachability:(NSString*)host
133  withPort:(NSInteger)port
134  useSSL:(BOOL)ssl
135  validateCertificate:(BOOL)validateCertificate
136  withTimeOut:(NSTimeInterval)timeOut
137  callbackBlock:(GDDiagnosticReachabilityResultsBlock)block;
138 
178 - (NSArray*)checkManagementConsoleReachability:(NSTimeInterval)timeOut
179  callbackBlock:(GDDiagnosticReachabilityResultsBlock)block;
180 
181 #pragma mark Configs
182 
190 @property (nonatomic, readonly) NSString* currentSettings;
191 
192 @end
193 
194 #endif /* GDDiagnostic_h */
GDDiagnostic
BlackBerry Dynamics diagnostic checks and information.
Definition: platform/apple/ios/build/BlackBerryDynamics.framework/Headers/GDDiagnostic.h:15
GDDiagnostic::GDDiagnosticNoNetwork
@ GDDiagnosticNoNetwork
No network connection.
Definition: platform/apple/ios/build/BlackBerryDynamics.framework/Headers/GDDiagnostic.h:36
GDDiagnostic::GDDiagnosticNetworkChange
@ GDDiagnosticNetworkChange
Network changed during reachability check.
Definition: platform/apple/ios/build/BlackBerryDynamics.framework/Headers/GDDiagnostic.h:40
GDDiagnostic::GDDiagnosticNoError
@ GDDiagnosticNoError
No error.
Definition: platform/apple/ios/build/BlackBerryDynamics.framework/Headers/GDDiagnostic.h:32
GDDiagnostic::GDDiagnosticTimedOut
@ GDDiagnosticTimedOut
Time out expired before reachability results could be generated.
Definition: platform/apple/ios/build/BlackBerryDynamics.framework/Headers/GDDiagnostic.h:44