startListeningToGroups

abstract fun startListeningToGroups(): Flow<List<GroupUser>>

Starts listening to group updates and returns a flow of group users. This will allow you to receive location update from other group members.

Return

A flow of the list of group users.


abstract fun startListeningToGroups(eventCallback: EventCallback<List<GroupUser>>)

Starts listening to group updates and registers an event callback. This will allow you to receive location update from other group members.

Parameters

eventCallback

The callback function to be invoked when a group event occurs.