Class: ChatStateEvent

Constructor

new ChatStateEvent(event, participant)

Used to notify user that other participant started or paused typing in a conversation.

Parameters:
Name Type Description
event AvayaClientServices.Providers.AMM.NotificationContentsV1
participant AvayaClientServices.Services.Messaging.Participant

Methods

getAction() → {string}

Returns action of this event.
Possible values are:
typing
recordingAudio
recordingVideo
attachingFile
takingPicture

Returns:
{ string }

action

getParticipant() → {AvayaClientServices.Services.Messaging.Participant}

Returns participant that has emitted this event.

Returns:

getState() → {string}

Returns state of event.
It can be one of two values: paused or composing.

Returns:
{ string }

getTimestamp() → {string}

Returns timestamp of this event.

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