Type Definitions
The following type definitions are available globally.
-
Callback to trigger when Snapping is complete.
Declaration
Objective-C
typedef void (^SCSDKSnapAPICompletionHandler)(NSError *_Nullable)
Swift
typealias SCSDKSnapAPICompletionHandler = (Error?) -> Void
Parameters
error
Error that is set when Snapping fails.