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

clientId

The client ID for the Mappy SDK.

clientSecret

The client secret for the Mappy SDK.

mappyUserId

The optional Mappy user ID.

deferTracking

Flag to indicate if tracking should be deferred during initialization (default: false).

appTrackingInfo

The optional tracking information for the app.

license

The optional license for the Mappy SDK.