public static enum DeviceStatusEvent.Type extends Enum<DeviceStatusEvent.Type>
Enum Constant and Description |
---|
FINISHED
Notifies the Device has finished.
|
FINISHED_CANCELED
Notifies the Device has finished with cancel.
|
FINISHED_ERROR
Notifies the Device has finished with an error.
|
FINISHED_SUCCESS
Notifies the Device has finished with success.
|
FINISHED_WARNING
Notifies the Device has finished with warning.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns an integer value corresponding to the predefined Device Status event state.
|
static DeviceStatusEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceStatusEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceStatusEvent.Type FINISHED_SUCCESS
public static final DeviceStatusEvent.Type FINISHED_WARNING
public static final DeviceStatusEvent.Type FINISHED_ERROR
public static final DeviceStatusEvent.Type FINISHED_CANCELED
public static final DeviceStatusEvent.Type FINISHED
public static DeviceStatusEvent.Type[] values()
for (DeviceStatusEvent.Type c : DeviceStatusEvent.Type.values()) System.out.println(c);
public static DeviceStatusEvent.Type 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 nullpublic int getValue()
Copyright © 2022 Bosch.IO GmbH. All rights reserved.