Class Index | File Index

Classes


Class Event.TextEvent

Represents an event with a text payload
Defined in: <D:\Programs\Neeve\Projects\NeeveBuild\stjsapi/src/main/webapp/js\event\TextEvent.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Event.TextEvent(eventId)
Creates a new text event
Method Summary
Method Attributes Method Name and Description
Object 
Returns the text payload of the event to be used in an acknowlegement.
String 
Gets the text payload of the event
void 
setText(text)
Sets text payload of the event
Class Detail
Event.TextEvent(eventId)
Creates a new text event
Parameters:
{String} eventId
The id of the text event to be created
Method Detail
{Object} getAcknowledgementData()
Returns the text payload of the event to be used in an acknowlegement.
Returns:
The text payload for an acknowlegement event

{String} getText()
Gets the text payload of the event
Returns:
The event text

setText(text)
Sets text payload of the event
Parameters:
{String} text
The text to be set

Copyright © 2015-2021 StreamScape Technologies. All rights reserved.