Displays a participant's name and an audio indicator.
| 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 |
<com.cloudflare.realtimekit.ui.view.nametagview.RtkNameTagView
android:id="@+id/rtk_name_tag"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />val nameTag = findViewById<RtkNameTagView>(R.id.rtk_name_tag)
nameTag.activate(participant)