Type Definitions
The following type definitions are available globally.
-
Callback block for log-in API calls.
Declaration
Objective-C
typedef void (^KKBOXOpenAPILoginCallback)(KKAccessToken *_Nullable, NSError *_Nullable)
Swift
typealias KKBOXOpenAPILoginCallback = (KKAccessToken?, Error?) -> Void
-
Callback block for API calls.
Declaration
Objective-C
typedef void (^KKBOXOpenAPIDataCallback)(id _Nullable, NSError *_Nullable)
Swift
typealias KKBOXOpenAPIDataCallback = (Any?, Error?) -> Void