Displays the current viewer count for a livestream.
| Method | Parameters | Description |
|---|---|---|
refresh |
meeting: RealtimeKitClient |
Update the viewer count based on the current meeting state |
<com.cloudflare.realtimekit.ui.view.RtkLivestreamViewerCount
android:id="@+id/rtk_viewer_count"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />val viewerCount = findViewById<RtkLivestreamViewerCount>(R.id.rtk_viewer_count)
viewerCount.refresh(meeting)