Avatar component which renders a participant's profile picture or their initials.
| Method | Parameters | Description |
|---|---|---|
activate |
participant: RtkMeetingParticipant |
Bind the avatar to a participant |
refresh |
- | Refresh the avatar based on the participant's name |
applyDesignTokens |
designTokens: RtkDesignTokens |
Apply custom design tokens for theming |
<com.cloudflare.realtimekit.ui.view.avatarview.RtkAvatarView
android:id="@+id/rtk_avatar"
android:layout_width="48dp"
android:layout_height="48dp" />val avatar = findViewById<RtkAvatarView>(R.id.rtk_avatar)
avatar.activate(participant)