A component which plays a participant's video and allows for placement of components like name tag and avatar.
Property Type Required Default Description rtk_ptv_nameTagPositionBOTTOM_LEFT | TOP_CENTER❌ BOTTOM_LEFTPosition of the name tag cardBackgroundColorcolor❌ - Background color of the tile cardCornerRadiusdimension❌ - Corner radius of the tile
Method Parameters Description activateparticipant: RtkMeetingParticipantBind the tile to a specific participant refreshParticipantName- Refresh the name tag and avatar refreshParticipantVideo- Refresh the video view state applyDesignTokensdesignTokens: RtkDesignTokensApply custom design tokens for theming
< com.cloudflare.realtimekit.ui.view.participanttile.RtkParticipantTileView
android : id = "@+id/rtk_participant_tile"
android : layout_width = "match_parent"
android : layout_height = "200dp"
app : rtk_ptv_nameTagPosition = "BOTTOM_LEFT" />
val tile = findViewById < RtkParticipantTileView >(R.id.rtk_participant_tile)
tile. activate (participant)