Hello,
I have been reading through the simplechat, and I notice one can obtain only the entire history.
http://livedocs.adobe.com/labs/acrobatcom/com/adobe/rtc/pods/SimpleChat.html
Would it be possible somehow to get only the last message and the username? Kind of like a polling feature, so that I can have access to each message one by one, such that when a user types the message and presses enter, I can have access to it?
If not I guess this would be a feature request
PS: I just noticed the SimpleChatModel in the examples, which has this exact feature.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi there,
You can always listen to the model of the component - the historyChange
event will fire a ChatEvent every time the history changes, with the latest
message.
hope that helps
nigel
Views
Replies
Total Likes
Hi there,
You can always listen to the model of the component - the historyChange
event will fire a ChatEvent every time the history changes, with the latest
message.
hope that helps
nigel
Views
Replies
Total Likes