Skip to main content

DyteAvatarView

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: DyteMeetingParticipant)

Creates DyteAvatarView 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: DyteMeetingParticipant)

Update Avatar view with recent participant object.

Parameters:​

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

Refreshing DyteAvatarView 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.