显示当前直播的观众人数。
| 方法 | 参数 | 描述 |
|---|---|---|
refresh |
meeting: RealtimeKitClient |
根据当前的会议状态更新观众人数 |
<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)