getGroups

abstract suspend fun getGroups(): List<Group>

Retrieves a list of groups associated with the current user ID asynchronously.

Return

The list of groups associated with the user ID.


abstract fun getGroups(completionCallback: CompletionCallback<List<Group>>)

Retrieves a list of groups associated with current user id asynchronously with a completion callback.

Parameters

completionCallback

The callback function to be invoked when the groups are retrieved.