public static enum VacuumStatus.State extends java.lang.Enum<VacuumStatus.State>
| Enum Constant | Description |
|---|---|
CHARGER_CONNECTION_LOST |
|
CHARGING |
|
CHARGING_ERROR |
|
CLEANING |
|
CLEANING_ZONE |
|
DOCKING |
|
ERROR |
|
GOING_HOME |
|
GOING_TO_TARGET |
|
IDLE |
|
MANUAL |
|
PAUSED |
|
REMOTE_CONTROL |
|
SHUTDOWN |
|
SPOT_CLEANUP |
|
STARTUP |
|
UNKNOWN |
|
UPDATING |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getState() |
|
static VacuumStatus.State |
valueOf(int state) |
Returns the enum constant of this type with the specified name.
|
static VacuumStatus.State |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static VacuumStatus.State[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VacuumStatus.State UNKNOWN
public static final VacuumStatus.State STARTUP
public static final VacuumStatus.State CHARGER_CONNECTION_LOST
public static final VacuumStatus.State IDLE
public static final VacuumStatus.State REMOTE_CONTROL
public static final VacuumStatus.State CLEANING
public static final VacuumStatus.State GOING_HOME
public static final VacuumStatus.State MANUAL
public static final VacuumStatus.State CHARGING
public static final VacuumStatus.State CHARGING_ERROR
public static final VacuumStatus.State PAUSED
public static final VacuumStatus.State SPOT_CLEANUP
public static final VacuumStatus.State ERROR
public static final VacuumStatus.State SHUTDOWN
public static final VacuumStatus.State UPDATING
public static final VacuumStatus.State DOCKING
public static final VacuumStatus.State GOING_TO_TARGET
public static final VacuumStatus.State CLEANING_ZONE
public static VacuumStatus.State[] values()
for (VacuumStatus.State c : VacuumStatus.State.values()) System.out.println(c);
public static VacuumStatus.State valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static VacuumStatus.State valueOf(int state)
state - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getState()
Copyright © 2018. All rights reserved.