Class: Participant

Constructor

new Participant()

Methods

getAddress() → {string}

Returns participant's address

Returns:
{ string }

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

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

Returns:

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

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

Returns:

getDisplayName() → {string}

Returns participant's display name.

Returns:
{ string }

getParticipantId() → {string}

Returns participant's unique id.

Returns:
{ string }

isLocalUser() → {boolean}

Returns true, if participant is self.

Returns:
{ boolean }

<protected> setAddress(address)

Sets participant's address.

Parameters:
Name Type Description
address string

setDisplayName(displayName)

Returns participant's display name.

Parameters:
Name Type Description
displayName string

Callbacks

addOnParticipantMatchedContactsChangedCallback(callback) → {void}

Adds new onParticipantMatchedContactsChangedCallback.

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

Function to be called

Returns:
{ void }

removeOnParticipantMatchedContactsChangedCallback(callback) → {void}

Removes existing onParticipantMatchedContactsChangedCallback.

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

Function to be removed

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

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