setAlias

fun setAlias(context: Context, alias: Any)

Set an Alias to update the existing Unique Id Note: This API only accepts the below data-types:

String, Int, Long, Double

Since

12.0.00

Parameters

alias

identifier


fun setAlias(context: Context, alias: Any, appId: String)

Set an Alias to update the existing Unique Id Note: This API only accepts the below data-types:

String, Int, Long, Double

Since

12.0.00

Parameters

alias

identifier

appId

Account identifier, APP ID on the MoEngage Dashboard.