clearEvents

Clear the custom events from the device data.

Parameters

handler

callback handler