public class DeviceEvent extends Object
Device
.
The event itself is described by a DeviceEventStatus
.
Constructor and Description |
---|
DeviceEvent(DeviceEventStatus status,
Device device)
Creates a DeviceEvent object.
|
Modifier and Type | Method and Description |
---|---|
Device |
getDevice()
Get the Device associated with the event.
|
DeviceEventStatus |
getStatus()
Get the DeviceEventStatus of the event.
|
public DeviceEvent(DeviceEventStatus status, Device device)
status
- The DeviceEventStatus of the event.device
- The Device associated with the event.public DeviceEventStatus getStatus()
public Device getDevice()
Copyright © 2019. All rights reserved.