Class: Participant

Constructor

new Participant(id, name, isPresenter)

Parameters:
Name Type Description
id string
name string
isPresenter boolean

Methods

getAddress() → {string}

Returns participant's address

Inherited From:
Returns:
{ string }

getAllPossibleContactMatches() → {AvayaClientServices.Services.Contacts.MatchedContactsWithMatchLevel|undefined}

Return all possible contact matches or undefined if there are no matches.

Inherited From:
Returns:

getBestContactMatch() → {AvayaClientServices.Services.Contacts.Contact|undefined}

Return best possible contact match. If no match was found, undefined is returned.

Inherited From:
Returns:

getDisplayName() → {string}

Returns participant's display name.

Inherited From:
Returns:
{ string }

getParticipantId() → {string}

Returns participant's unique id.

Inherited From:
Returns:
{ string }

isLocalUser() → {boolean}

Returns true, if participant is self.

Inherited From:
Returns:
{ boolean }

<protected> setAddress(address)

Sets participant's address.

Parameters:
Name Type Description
address string
Inherited From:

setDisplayName(displayName)

Returns participant's display name.

Parameters:
Name Type Description
displayName string
Inherited From:

Callbacks

addOnParticipantMatchedContactsChangedCallback(callback) → {void}

Adds new onParticipantMatchedContactsChangedCallback.

Parameters:
Name Type Description
callback AvayaClientServices.Services.Participant#onParticipantMatchedContactsChangedCallback

Function to be called

Inherited From:
Returns:
{ void }

removeOnParticipantMatchedContactsChangedCallback(callback) → {void}

Removes existing onParticipantMatchedContactsChangedCallback.

Parameters:
Name Type Description
callback AvayaClientServices.Services.Participant#onParticipantMatchedContactsChangedCallback

Function to be removed

Inherited From:
Returns:
{ void }

Type Definitions

onParticipantMatchedContactsChangedCallback(participant) → {void}

Interface for callback function to be invoked when matched contacts for this participant are changed.

Parameters:
Name Type Description
participant AvayaClientServices.Services.Participant

Participant the matched contacts of which were changed

Inherited From:
Returns:
{ void }
©2016 Avaya Inc. All Rights Reserved.