# OnPropertyReceived Event Fires when a requested property has been received. Syntax
    SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
    OnPropertyReceived = handler
Parameters
userIndex | Long value that contains the user index.
status | Long value that contains the status.
name | String that contains the name of the property.
value | String 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 top