public static enum Device.CommandId extends java.lang.Enum<Device.CommandId> implements CommandIdInterface
Device.sendDeviceManagementCommand(Command, DeviceManagementStatusListener).| Enum Constant and Description |
|---|
ADD_RES
Device.AddResource to add resource to this device. |
CONFIGURE_WIFI
|
DISCOVER_RES
Device.DiscoverResource to start discovering available resource. |
FORCE_REM_RES
Device.ForceRemoveResource to remove resource forcefully. |
REBOOT
Device.RebootDevice to reboot device. |
REM_RES
Device.RemoveResource to remove existing resource. |
UPD_RES_META
Device.SetResourceName to set resource metadata. |
UPD_RES_NAME
Device.SetResourceName to set resource name. |
| Modifier and Type | Method and Description |
|---|---|
int |
getInt()
A function to be implemented by every subclass to
Capability.AttributeId and Capability.CommandId. |
static Device.CommandId |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Device.CommandId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Device.CommandId DISCOVER_RES
Device.DiscoverResource to start discovering available resource.public static final Device.CommandId ADD_RES
Device.AddResource to add resource to this device.public static final Device.CommandId REM_RES
Device.RemoveResource to remove existing resource.public static final Device.CommandId REBOOT
Device.RebootDevice to reboot device.public static final Device.CommandId UPD_RES_NAME
Device.SetResourceName to set resource name.public static final Device.CommandId UPD_RES_META
Device.SetResourceName to set resource metadata.public static final Device.CommandId FORCE_REM_RES
Device.ForceRemoveResource to remove resource forcefully.public static final Device.CommandId CONFIGURE_WIFI
public static Device.CommandId[] values()
for (Device.CommandId c : Device.CommandId.values()) System.out.println(c);
public static Device.CommandId 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 int getInt()
CommandIdInterfaceCapability.AttributeId and Capability.CommandId.getInt in interface CommandIdInterface