NotificationService

The NotificationService allows inviting participants to a conference.

Methods

decline

decline(conference): Promise<void>

Declines the conference invitation.

Parameters

NameTypeDescription
conferenceConferenceThe conference object.

Returns

Promise<void>


invite

invite(conference, participants): Promise<void>

Notifies conference participants about a conference invitation.

Parameters

NameTypeDescription
conferenceConferenceThe conference object.
participantsParticipantInvited[]Information about the invited application users.

Returns

Promise<void>


Event handlers

onInvitationReceived

onInvitationReceived(handler): UnsubscribeFunction

Adds a listener to the invitation received event.

Parameters

NameTypeDescription
handler(data: InvitationReceivedEventType) => voidAn event callback function.

Returns

UnsubscribeFunction

A function that unsubscribes from event listeners.