Global Variables

The following global variables are available globally.

  • REST API Version used in the REST calls.

    Declaration

    Swift

    public let restApiVersion: Int
  • Shared client instance for simplicity. All methods that use a client will default to this instance. If you intend to use multiple backend apps or environments, you should override this default by providing a separate Client instance.

    Declaration

    Swift

    public let sharedClient: Client
  • A once-per-installation value generated to give an ID for the running device

    Declaration

    Swift

    public let deviceId: String
  • Level of logging used to log messages inside the Kinvey library

    Declaration

    Swift

    public var logLevel: LogLevel { get set }
  • Undocumented

    Declaration

    Swift

    public let defaultTag: String