setUniqueId

fun setUniqueId(context: Context, uniqueId: Any)

Set an Unique Identifier for the user.

Note: This API only accepts the below data-types:

String, Int, Long, Double

Since

12.0.00

Parameters

uniqueId

identifier


fun setUniqueId(context: Context, uniqueId: Any, appId: String)

Set an Unique Identifier for the user.

Note: This API only accepts the below data-types:

String, Int, Long, Double

Since

12.0.00

Parameters

uniqueId

identifier

appId

Account identifier, APP ID on the MoEngage Dashboard.