public interface DeviceEventHandler
A class that is interested in processing a DeviceEvent
implements
this interface, and an instance of the class is registered with a component
that has an addDeviceEventHandler method. When the DeviceEvent occurs, the
onDeviceEvent method specified by this interface is invoked.
Modifier and Type | Method and Description |
---|---|
void |
onDeviceEvent(DeviceEvent event)
Invoked when the DeviceEvent occurs.
|
void onDeviceEvent(DeviceEvent event)
event
- The DeviceEvent that has occurred.Copyright © 2021. All rights reserved.