Skip to content

Commit

Permalink
Update large-room.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
pawan-100ms authored Oct 4, 2023
1 parent e1d6d38 commit 3c65d6e
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,8 @@ if peerListIterator.hasNext {

### How to check the total count of peers in the peer list

You use **totalCount** property on **HMSPeerListIterator** to check if there are more peers available to fetch.
You use **totalCount** property on **HMSPeerListIterator** to know how many peers are there in the peer list.

```swift
if peerListIterator.hasNext {
// load next set of peers
}
let totalPeerCount = peerListIterator.totalCount
```

0 comments on commit 3c65d6e

Please sign in to comment.