function(deviceName, eventType, eventData) OnKioCurrencyDevice

When the page needs to know about something, KioWare will attempt to call a OnKioCurrencyDevice function in every frame of every browser, specifying the type of event that occurred. eventData varies depending upon eventType and the type of device. A list of each potential eventType and corresponding eventData:

NotifyEventType.StatusChanged - An int of the new status flags
NotifyEventType.CreditsChanged - { double Value, string Currency }
NotifyEventType.StackResultChanged - { Success = 0, Pending = 1, Failed = 2 }
NotifyEventType.DispensedByAmount - An Object with two members: bool Success, and an Object[] representing counts of values dispensed. The Objects have two members - int Count, and double Value
NotifyEventType.DispensedByPosition - An Object with two members: bool Success, and an int[] representing how many bills were dispensed from each bin
NotifyEventType.DispensedByDenom - An Object with two members: bool Success, and an Object representing how many bills were dispensed for each denomination
NotifyEventType.DeviceReset - bool, where true means success.