| Package | Description |
|---|---|
| com.microsoft.azure.sdk.iot.service |
| Modifier and Type | Field and Description |
|---|---|
protected DeviceStatus |
Device.status
"Enabled", "Disabled".
|
| Modifier and Type | Method and Description |
|---|---|
static DeviceStatus |
DeviceStatus.fromString(String status) |
DeviceStatus |
ExportImportDevice.getStatus()
Getter for device status.
|
DeviceStatus |
Device.getStatus()
Getter for DeviceStatus object
|
static DeviceStatus |
DeviceStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceStatus[] |
DeviceStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Device |
Device.createFromId(String deviceId,
DeviceStatus status,
SymmetricKey symmetricKey)
Static create function
Creates device object using the given name.
|
void |
ExportImportDevice.setStatus(DeviceStatus status)
Setter for device status.
|
void |
Device.setStatus(DeviceStatus status)
Setter for DeviceStatus object
|
| Constructor and Description |
|---|
Device(String deviceId,
DeviceStatus status,
SymmetricKey symmetricKey)
Create an Device instance using the given device name
|
Copyright © 2017. All rights reserved.