Donkey Config
data class DonkeyConfig(environment: DonkeyConfig.ServerEnvironment, logLevel: DonkeyConfig.LogLevel)
Content copied to clipboard
Configuration class for bike.donkey.lockkit.DonkeyLockKit
The instance of this data class is attached to DonkeyLockKit in order to supply necessary configuration as needed It is possible to update the variables of DonkeyConfig before calling DonkeyLockKit.initializeSdk function,
Parameters
environment
ServerEnvironment for which to authenticate the Sdk
log Level
LogLevel to select how much of logging should be displayed in Logcat
Constructors
Link copied to clipboard
fun DonkeyConfig(environment: DonkeyConfig.ServerEnvironment = ServerEnvironment.LIVE, logLevel: DonkeyConfig.LogLevel = LogLevel.DEBUG)
Content copied to clipboard
Types
Link copied to clipboard
Defines the log levels for the framework
Link copied to clipboard
Defines the server environment for the framework. The server environment is used for SDK Token verification and for tracking lock and unlock events for locks.