Class: Participant

.Conference. Participant

The Participant defines a participant in a conference.
Events:

Event Name Argument Type Fired when
left Owt.Base.OwtEvent The participant left the conference.

new Participant()

Extends

Members


id :string

The ID of the participant. It varies when a single user join different conferences.

Type:
  • string

role :string

Type:
  • string

userId :string

The user ID of the participant. It can be integrated into existing account management system.

Type:
  • string

Methods


addEventListener(eventType, listener)

This function registers a callback function as a handler for the corresponding event. It's shortened form is on(eventType, listener). See the event description in the following table.

Parameters:
Name Type Description
eventType string

Event string.

listener function

Callback function.

Inherited From:

clearEventListener(eventType)

This function removes all event listeners for one type.

Parameters:
Name Type Description
eventType string

Event string.

Inherited From:

removeEventListener(eventType, listener)

This function removes a registered event listener.

Parameters:
Name Type Description
eventType string

Event string.

listener function

Callback function.

Inherited From: