Interface representing a Device event.
Subscribes a handler to the event.
The handler function to subscribe to the event.
Subscribes an asynchronous handler to the event.
The asynchronous handler function to subscribe to the event.
Interface representing a Device event.