Skip to content

RtkParticipantCountView

A text view that displays the current number of participants in a meeting. It automatically updates when the participant count changes.

Methods

MethodParametersDescription
activatemeeting: RealtimeKitClientBind the view to the meeting state
applyDesignTokensdesignTokens: RtkDesignTokensApply custom design tokens for theming

Usage Examples

Basic Usage

<com.cloudflare.realtimekit.ui.view.RtkParticipantCountView
android:id="@+id/rtk_participant_count"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

With Methods

Kotlin
val countView = findViewById<RtkParticipantCountView>(R.id.rtk_participant_count)
countView.activate(meeting)