Skip to content

RtkParticipantCountView

Last updated View as MarkdownAgent setup

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

Methods

Method Parameters Description
activate meeting: RealtimeKitClient Bind the view to the meeting state
applyDesignTokens designTokens: RtkDesignTokens Apply 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

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

Was this helpful?