Enumerations

The following enumerations are available globally.

Errors and status updates

  • This enum describes updates to the lock during lock, unlock and end rental operations.

    See more

    Declaration

    Swift

    public enum StatusUpdate : Equatable
  • This enum describes errors related to LockKit SDK initialization.

    See more

    Declaration

    Swift

    public enum InitializeSDKError : String, Error, Equatable
  • An error that occurs when initializing a lock

    See more

    Declaration

    Swift

    public enum InitializeLockError : Error, Equatable
  • An error that occurs when deinitializing a lock

    See more

    Declaration

    Swift

    public enum FinalizeLockError : Error, Equatable
  • This enum describes errors returned by Unlock, Lock and End Rental operations.

    See more

    Declaration

    Swift

    public enum LockError : Error, Equatable
  • This enum defines log levels for the framework.

    It can be controlled by setting an appropriate value in LockKitConfiguration.logLevel.

    See more

    Declaration

    Swift

    public enum LogLevel : Comparable
  • This enum defines available Donkey Republic server environments.

    The server environment is used for SDK Token verification and for tracking lock and unlock events for locks. The currently used environment can be adjusted by setting an appropriate value in LockKitConfiguration.environment.

    See more

    Declaration

    Swift

    public enum ServerEnvironment : Equatable