RtkParticipantCountView
A text view that displays the current number of participants in a meeting. It automatically updates when the participant count changes.
| Method | Parameters | Description |
|---|---|---|
activate | meeting: RealtimeKitClient | Bind the view to the meeting state |
applyDesignTokens | designTokens: RtkDesignTokens | Apply custom design tokens for theming |
<com.cloudflare.realtimekit.ui.view.RtkParticipantCountView android:id="@+id/rtk_participant_count" android:layout_width="wrap_content" android:layout_height="wrap_content" />val countView = findViewById<RtkParticipantCountView>(R.id.rtk_participant_count)countView.activate(meeting)