Skip to content

RtkLivestreamHeaderView

Last updated View as Markdown Agent setup

A pre-built header for livestream meetings. Contains the livestream indicator, viewer count, clock, and meeting title.

Methods

Method Parameters Description
activate meeting: RealtimeKitClient Bind the header to the meeting state

Usage Examples

Basic Usage

<com.cloudflare.realtimekit.ui.view.RtkLivestreamHeaderView
    android:id="@+id/rtk_livestream_header"
    android:layout_width="match_parent"
    android:layout_height="wrap_content" />

With Methods

val header = findViewById<RtkLivestreamHeaderView>(R.id.rtk_livestream_header)
header.activate(meeting)

Was this helpful?