SendCustomMessage Method



 
The SendCustomMessage method sends a message to the server.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
    SendCustomMessage(messageID, message)
    
Parameters
    messageID Long value that specifies the message ID.
    message String that specifies the message.
Return Value
    None.
Remarks
    None.
Examples
    The following example sends a message to the server.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
    SiteCafe.SendCustomMessage(1, "message");
    </SCRIPT>
    

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

Back to top