Skip to content

RtkHeaderView

A base header view component. Provides background styling and design token support.

Methods

MethodParametersDescription
activatemeeting: RealtimeKitClientBind the header to the meeting state
applyDesignTokensdesignTokens: RtkDesignTokensApply 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

Kotlin
val header = findViewById<RtkHeaderView>(R.id.rtk_header)
header.activate(meeting)