initialize
abstract suspend fun initialize(clientId: String, clientSecret: String, mappyUserId: String? = null, license: String? = null): String
Initializes the Mappy SDK with the specified client ID, client secret, Mappy user ID, and license.
Return
A string representing the initialization status or result.
Parameters
client Id
The client ID for Mappy SDK.
client Secret
The client secret for Mappy SDK.
mappy User Id
The optional Mappy user ID.
license
The optional license for Mappy SDK.
abstract fun initialize(clientId: String, clientSecret: String, mappyUserId: String? = null, completionCallback: CompletionCallback<String>)
Initializes the Mappy SDK with the specified client ID, client secret, Mappy user ID, and a completion callback.
Parameters
client Id
The client ID for Mappy SDK.
client Secret
The client secret for Mappy SDK.
mappy User Id
The optional Mappy user ID.
completion Callback
The callback function to be invoked when the initialization is complete.