InitializeSDKError
public enum InitializeSDKError : String, Error, Equatable
This enum describes errors related to LockKit SDK initialization.
-
LockKit SDK token is not set.
Make sure you call
LockKit.intializeSDK(...)
and pass a valid token before calling otherLockKit
APIs.Declaration
Swift
case tokenNotSet
-
LockKit SDK token is not valid.
Make sure you are passing a correct token issued for you by Donkey Republic.
Declaration
Swift
case tokenInvalid
-
Initialization with a different token is ongoing.
Make sure you wait until it’s finished.
Declaration
Swift
case ongoingInitializationWithDifferentToken
-
Failed to initialize internal storage.
Most likely the device is running out of disk space. DonkeyLockKit is unable to continue.
Declaration
Swift
case failedToInitializeStorage