DeviceInfo.deviceState Property

Module: DeviceInfo

Type: DeviceState

Definition

Reflects the current operational state of the device, such as active, inactive, or error conditions, and is read-only from the device’s perspective.

device_state: DeviceState

Exceptions

An error has occurred during Devices Library execution.
DeviceState get deviceState => getDeviceState();

Exceptions

An error has occurred during Devices Library execution.
public DeviceState deviceState
{
    get => GetdeviceState();
}

Exceptions

An error has occurred during Devices Library execution.
public DeviceState getDeviceState() throws DevicesException

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesDeviceInfo_GetDeviceState (ID3_DEVICES_DEVICE_INFO hDeviceInfo, id3DevicesDeviceState * eDeviceState)

Returns

int
An error code.
See id3DevicesError file for the list of possible error codes.