getParticipantBySid

abstract fun getParticipantBySid(sid: String): Participant

Get a conversation participant by sid.

Return

Participant object in current conversation, or null if not found.

Parameters

sid

The sid of the participant to look up.

Throws

If conversation isn't synchronized properly.