Skip to main content

RtkAvatarView

Overview​

View which renders a participant's image or their initials. If image is present then name initials are not shown vice versa.

Topics:​

Creating a Avatar view for the participant passed.​

init(participant: RtkMeetingParticipant)

Creates RtkAvatarView for the participant object you passed.

Parameters:​

participant: Participant object for which you want to show image/name initials.

Explicit update the participant object for this view to show.​

func set(participant: RtkMeetingParticipant)

Update Avatar view with recent participant object.

Parameters:​

participant: Participant object for which you want to show image/name initials.

Refreshing RtkAvatarView with latest values.​

func refresh()

Call this method to refresh the view.
For example if someone update the participant name. Then call this to show latest values.