← Cloudflare Realtime / realtime / realtimekit / ui-kit / api-reference / android
RtkParticipantCountView
Textové zobrazení aktuálního počtu účastníků schůzky. Automaticky se aktualizuje při každé změně počtu účastníků.
Metody
| Metoda | Parametry | Popis |
|---|---|---|
activate |
meeting: RealtimeKitClient |
Přiřadí zobrazení ke stavu schůzky |
applyDesignTokens |
designTokens: RtkDesignTokens |
Použití vlastních designových tokenů pro motivy |
Příklady použití
Základní použití
<com.cloudflare.realtimekit.ui.view.RtkParticipantCountView
android:id="@+id/rtk_participant_count"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />S metodami
val countView = findViewById<RtkParticipantCountView>(R.id.rtk_participant_count)
countView.activate(meeting)