setGroup

fun setGroup(groupType: String, groupName: String, options: EventOptions? = null): Amplitude

Set the user's group.

Return

the Amplitude instance

Parameters

groupType

the group type

groupName

the group name

options

optional event options


fun setGroup(groupType: String, groupName: Array<String>, options: EventOptions? = null): Amplitude

Sets the user's groups.

Return

the Amplitude instance

Parameters

groupType

the group type

groupName

the group name

options

optional event options