SiteKiosk Documentation
One Step Back

OnPropertyReceived Event




Fires when a requested property has been received.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
    OnPropertyReceived = handler
    
Parameters
    userIndexLong value that contains the user index.
    statusLong value that contains the status.
    nameString that contains the name of the property.
    valueString or Long value that contains the value.
Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example requests and displays the user property 'anyProperty' of the first user.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
    SiteCafe.OnPropertyReceived = OnPropertyReceived;
    function OnPropertyReceived(userIndex, status, name, value)
    {
       alert("Value: " + value);
    }
    SiteCafe.GetProperty(1, "anyProperty");
    </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 -