initializeSdk

open override fun initializeSdk(context: Context, sdkToken: String, onResult: (Result<InitSdkSuccess>) -> Unit)

In order to interact with Donkey bike locks, SDK must be initialized with the sdkToken provided by Donkey Republic.

Parameters

context

Context of the client application

sdkToken

String value provided by Donkey Republic

onResult

callback of the initialization in case of debugging