getGroups

open suspend override 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.


open override 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.