DeviceInfo.deviceId Property

Module: DeviceInfo

Type: int

Definition

An integer identifier for the device, unique within the system to distinguish between devices.

device_id: int

Exceptions

An error has occurred during Devices Library execution.
int get deviceId => getDeviceId();
set deviceId(int value) => setDeviceId(value);

Exceptions

An error has occurred during Devices Library execution.
public int deviceId
{
    get => GetdeviceId();
    set => SetdeviceId(ref value);
}

Exceptions

An error has occurred during Devices Library execution.
public int getDeviceId() throws DevicesException
public void setDeviceId(int deviceId) throws DevicesException

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesDeviceInfo_GetDeviceId (ID3_DEVICES_DEVICE_INFO hDeviceInfo, int * deviceId)
int id3DevicesDeviceInfo_SetDeviceId (ID3_DEVICES_DEVICE_INFO hDeviceInfo, int deviceId)

Returns

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