setUserId

fun setUserId(userId: String?): Amplitude

Set the user id (can be null).

Return

the Amplitude instance

Parameters

userId

custom user id