useParticipantCounts

useParticipantCounts(): Object

useParticipantCounts is a convenience hook around the participantCounts() method.

Return type

Returns an object with the following properties:

NameTypeDescription
presentnumberAmount of participants where hasPresence is true
hiddennumberAmount of participants where hasPresence is false

Sample code

Related references