Constants
The following constants are available globally.
-
The errors that happen in the SDK.
Declaration
Objective-C
extern NSString *const _Nonnull KKBOXOpenAPIErrorDomain
Swift
let KKBOXOpenAPIErrorDomain: String
-
Fired when KKBOXOpenAPI completes logging-in into KKBOX and creating a new access token.
Declaration
Objective-C
extern NSString *const _Nonnull KKBOXOpenAPIDidLoginNotification
Swift
static let KKBOXOpenAPIDidLogin: NSNotification.Name
-
Fired when KKBOXOpenAPI restores a saved access token. You can reset the access token by calling the
-logout
method.Declaration
Objective-C
extern NSString *const _Nonnull KKBOXOpenAPIDidRestoreAccessTokenNotification
Swift
static let KKBOXOpenAPIDidRestoreAccessToken: NSNotification.Name