public enum DeviceEventStatus extends Enum<DeviceEventStatus>
GatewayClient
.Enum Constant and Description |
---|
DEVICE_ADDED
A
Device has been added to the network(s) represented by the GatewayClient . |
DEVICE_REMOVED
A
Device has been removed from the network(s) represented by the GatewayClient |
Modifier and Type | Method and Description |
---|---|
static DeviceEventStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceEventStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceEventStatus DEVICE_ADDED
Device
has been added to the network(s) represented by the GatewayClient
.public static final DeviceEventStatus DEVICE_REMOVED
Device
has been removed from the network(s) represented by the GatewayClient
public static DeviceEventStatus[] values()
for (DeviceEventStatus c : DeviceEventStatus.values()) System.out.println(c);
public static DeviceEventStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019. All rights reserved.