← Cloudflare Realtime / realtime / realtimekit / ui-kit / api-reference / android
RtkClockView
Komponenta hodin, která zobrazuje uplynulý čas schůzky.
Metody
| Metoda | Parametry | Popis |
|---|---|---|
activate |
meeting: RealtimeKitClient |
Navázání hodin na stav 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.RtkClockView
android:id="@+id/rtk_clock_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />S metodami
val clockView = findViewById<RtkClockView>(R.id.rtk_clock_view)
clockView.activate(meeting)