SiteKiosk Documentation
One Step Back

OnCustomMessage Event




Fires when a message has been received from the server.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
    OnCustomMessage = handler
    
Parameters
    messageIDLong value that specifies the message ID.
    messageString that specifies the message.
Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example displays the message when it has been received.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
    SiteCafe.OnCustomMessage = OnCustomMessage;
    function OnCustomMessage(messageID, message)
    {
       alert("Message: " + message);
    }
    </SCRIPT>
    

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

Back to topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -