NIMMSTADevice Event Handler
Interface to handle events from a NIMMSTA Device.
For every function the event handler will receive a reference to the NIMMSTADevice that created the event. This reference can then be used to handle the event, for example by turning on the LED or triggering a vibration.
Author
NIMMSTA Team
Functions
Evert is called if the battery level changes.
Event is called if a button was clicked on the screen.
Called when the connection has been established successfully. The API is now ready to receive any requests and the device is ready to execute any responses.
The device was disconnected.
Event is called if the trigger was double triggered.
Event is called if a barcode was scanned.
Event is called if the device starts charging.
Event is called if the device stops charging.
Event is called if the screen was touched. Keep in mind that this event is not triggered if a button was touched.
Event is called if the trigger was triggered.
Event is called if the trigger was triple triggered.
Software update progress handler. Is invoked when a SoftwareUpdate is sent to the device and progress was made.