[ Web Proxy ]
URL:
Viewing: https://developers.cloudflare.com/realtime/realtimekit/ui-kit/api-reference/android/name-tag-view/ [Back]  [Original]

RtkNameTagView Cloudflare Realtime docsSkip to content
SearchCtrlKLog in
  1. Home
  2. /Realtime
  3. /
  4. /Android
  5. /RtkNameTagView

RtkNameTagView

Last updated Apr 21, 2026Copy as MarkdownView as MarkdownAgent setup
OverviewMethodsUsage ExamplesBasic UsageWith Methods

Displays a participant's name and an audio indicator.

Methods

Method Parameters Description
activate participant: RtkMeetingParticipant, isScreenShare: Boolean Bind the name tag to a participant
setMaxLength length: Int Set the maximum length for the displayed name
refresh - Refresh the name and audio indicator
applyDesignTokens designTokens: RtkDesignTokens Apply custom design tokens for theming

Usage Examples

Basic Usage

<com.cloudflare.realtimekit.ui.view.nametagview.RtkNameTagView
    android:id="@+id/rtk_name_tag"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" />

With Methods

val nameTag = findViewById<RtkNameTagView>(R.id.rtk_name_tag)
nameTag.activate(participant)
PreviousRtkMoreToggleButtonNextRtkParticipantAudioIndicator

Was this helpful?

YesNo
Edit pageReport issue
[]

Web Proxy Viewer  |  New URL  |  Original Page