Skip to content

非公式 / UnofficialCloudflare, Inc. 非提携。アカウント情報は入力しないでください。Not affiliated with Cloudflare, Inc. Do not enter Cloudflare credentials here.Official docsこのサイトについてプライバシー

RtkClockView

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

ミーティングの経過時間を表示する時計コンポーネントです。

メソッド

メソッド パラメーター 説明
activate meeting: RealtimeKitClient 時計をミーティングの状態に紐づけます
applyDesignTokens designTokens: RtkDesignTokens テーマ用にカスタムデザイントークンを適用します

使用例

基本的な使い方

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

メソッドを使う

val clockView = findViewById<RtkClockView>(R.id.rtk_clock_view)
clockView.activate(meeting)

役に立ちましたか?