← Cloudflare Realtime / realtime / realtimekit / ui-kit / api-reference / android
RtkHeaderView
A base header view component. Provides background styling and design token support.
Methods
| Method | Parameters | Description |
|---|---|---|
activate |
meeting: RealtimeKitClient |
Bind the header to the meeting state |
applyDesignTokens |
designTokens: RtkDesignTokens |
Apply custom design tokens for theming |
Usage Examples
Basic Usage
<com.cloudflare.realtimekit.ui.view.headers.RtkHeaderView
android:id="@+id/rtk_header"
android:layout_width="match_parent"
android:layout_height="wrap_content" />With Methods
val header = findViewById<RtkHeaderView>(R.id.rtk_header)
header.activate(meeting)