Parameters
- __namedParameters: {
identity?: string;
kind?: ParticipantKind | ParticipantKind[];
room: Room;
}Optional
identity?: string
Optional
kind?: ParticipantKind | ParticipantKind[]
room: Room
Returns Promise<RemoteParticipant>
A promise that resolves to the participant.
Returns a participant that matches the given identity. If identity is None, the first participant that joins the room will be returned. If the participant has already joined, the function will return immediately.