OnChatStatusChanged Event



 
Fires when the chat status changed.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
    Chat.OnChatStatusChanged = handler
    
Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example displays an alert window when the chat status changed.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
    SiteCafe.Chat.OnChatStatusChanged = OnChatStatusChanged;
    function OnChatStatusChanged()
    {
       alert("Chat status changed");
    }
    </SCRIPT>
    

Applies to
    SiteKiosk v6.2 (and later versions).

Back to top