DeviceInfo.deviceType Property

Module: DeviceInfo

Type: DeviceType

Definition

Enumerated type defining the category or function of the device, such as sensor, actuator, etc., with a default state of Unknown.

device_type: DeviceType

Exceptions

An error has occurred during Devices Library execution.
int get deviceType => getDeviceType();
set deviceType(int value) => setDeviceType(value);

Exceptions

An error has occurred during Devices Library execution.
public DeviceType deviceType
{
    get => GetdeviceType();
    set => SetdeviceType(ref value);
}

Exceptions

An error has occurred during Devices Library execution.
public int getDeviceType() throws DevicesException
public void setDeviceType(DeviceType deviceType) throws DevicesException

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesDeviceInfo_GetDeviceType (ID3_DEVICES_DEVICE_INFO hDeviceInfo, id3DevicesDeviceType * eDeviceType)
int id3DevicesDeviceInfo_SetDeviceType (ID3_DEVICES_DEVICE_INFO hDeviceInfo, id3DevicesDeviceType eDeviceType)

Returns

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