• BlackBerry Dynamics
  • Runtime library for iOS applications
Type for check reachability results callback


typedef void(^ GDDiagnosticReachabilityResultsBlock) (NSString *results, NSInteger requestID)
 Type for check reachability results callback. More...

Detailed Description

Typedef Documentation

◆ GDDiagnosticReachabilityResultsBlock

- (typedef void(^ GDDiagnosticReachabilityResultsBlock(NSString *results, NSInteger requestID))

Pass a code block of this type as the block parameter to any of the reachability checking functions in the GDDiagnostic class.

The block receives the following parameters.

resultsNSString containing results of the reachability check, which can be logged by the application for diagnostic purposes.
requestIDNSInteger value that was returned by the original check reachability function call.