Skip to content

非公式本サイトは非公式の日本語ドキュメントであり、Cloudflare 公式サイトではありません。最新情報はdevelopers.cloudflare.comをご確認ください。

RtkParticipantCountView

最終更新 Markdown で表示Agent セットアップ

ミーティングの現在の参加者数を表示するテキストビューです。参加者数が変わると、自動的に更新されます。

メソッド

メソッド パラメーター 説明
activate meeting: RealtimeKitClient ビューをミーティングの状態にバインドします
applyDesignTokens designTokens: RtkDesignTokens カスタムデザイントークンを適用してテーマを設定します

使用例

基本的な使い方

<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)

役に立ちましたか?