Skip to content

Home > @world-wide-lab/client > Participant

Participant class

A World-Wide-Lab participant, typically used to link multiple Sessions.

Signature:

typescript
export declare class Participant extends _ClientModel

Extends: _ClientModel

Constructors

Constructor

Modifiers

Description

(constructor)(clientInstance, participantId)

Constructs a new instance of the Participant class

Properties

Property

Modifiers

Type

Description

participantId

string

Methods

Method

Modifiers

Description

getPublicInfo()

Retrieve public meta-data for a participant

storeParticipantId()

Store a participant's participantId, so it can later be re-used via Client.getParticipant().

update(data)

Update the participant's meta-data.