joinGroup

open suspend override fun joinGroup(groupCode: String, userRole: String): Group

Joins a group asynchronously.

Return

The joined group.

Parameters

groupCode

The group code for the group to join.

userRole

The role of the user.


open override fun joinGroup(groupCode: String, userRole: String, completionCallback: CompletionCallback<Group>)

Joins current user to a group asynchronously with a completion callback.

Parameters

groupCode

The group code for the group to join.

userRole

The role of the user.

completionCallback

The callback function to be invoked when the group is joined.