ParticipantViewData

public struct ParticipantViewData

Object to represent participants data

  • Create an instance of a ParticipantViewData. All information in this object is only stored locally in the composite.

    Declaration

    Swift

    public init(avatar: UIImage? = nil,
                displayName: String? = nil)

    Parameters

    avatar

    The UIImage that will be displayed in the avatar view. If this is nil the default avatar with user’s initials will be used instead.

    displayName

    The display name to be rendered. If this is nil the display name provided in the Call Options will be used instead.