initialize
abstract suspend fun initialize(clientId: String, clientSecret: String, mappyUserId: String? = null, deferTracking: Boolean = false, appTrackingInfo: AppTrackingInfo? = null, license: String? = null): String
abstract fun initialize(clientId: String, clientSecret: String, mappyUserId: String? = null, deferTracking: Boolean = false, appTrackingInfo: AppTrackingInfo? = null, completionCallback: CompletionCallback<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 Mappy user ID.
Parameters
client Id
The client ID for the Mappy SDK.
client Secret
The client secret for the Mappy SDK.
mappy User Id
The optional Mappy user ID.
defer Tracking
Flag to indicate if tracking should be deferred during initialization (default: false).
app Tracking Info
The optional tracking information for the app.
license
The optional license for the Mappy SDK.