Type Definitions
The following type definitions are available globally.
-
Called when a request succeeds, fails, or times out. Receives the request status and, if successful, the user’s location, the events generated, and the user.
Declaration
Objective-C
typedef void (^_Nullable RadarCompletionHandler)( RadarStatus, CLLocation *_Nullable, NSArray<RadarEvent *> *_Nullable, RadarUser *_Nullable)
Swift
typealias RadarCompletionHandler = (RadarStatus, CLLocation?, [RadarEvent]?, RadarUser?) -> Void