identifyUser

fun identifyUser(context: Context, identity: String, workspaceId: String? = null): MoETask<UserIdentityResult>

Identify the user with the given identifiers.

Parameters

context

Instance of Context

identity

User identifier.

workspaceId

Workspace Identifier.

Throws

if the SDK is not initialized.


fun identifyUser(context: Context, identity: Map<String, String>, workspaceId: String? = null): MoETask<UserIdentitiesResult>

Identify the user with the given identifiers.

Parameters

context

Instance of Context

identity

Map of identifiers

workspaceId

Workspace Identifier.

Throws

if the SDK is not initialized.