get
abstract suspend fun get(waitForSync: Boolean = true, clientId: String? = null, connectionId: String? = null): List<PresenceMember>
Method to get list of the current online users and returns the latest presence messages associated to it.
Return
list of the current online users
Parameters
wait For Sync
when false, the current list of members is returned without waiting for a complete synchronization.
client Id
when provided, will filter array of members returned that match the provided clientId
string.
connection Id
when provided, will filter array of members returned that match the provided connectionId
.
Throws
Ably Exception
object which explains the error.