DeviceChannel.isPreviouslyDisconnectedDevice Method

Module: DeviceChannel

Definition

Checks if the specified device was previously disconnected.

is_previously_disconnected_device(self, device_id: int) -> bool

Parameters

device_id int
in The ID of the device to check.

Returns

bool
Outputs true if the device was previously disconnected.

Exceptions

An error has occurred during Devices Library execution.
bool isPreviouslyDisconnectedDevice(int deviceId)

Parameters

deviceId int
in The ID of the device to check.

Returns

bool
Outputs true if the device was previously disconnected.

Exceptions

An error has occurred during Devices Library execution.
public bool IsPreviouslyDisconnectedDevice(int deviceId)

Parameters

deviceId int
in The ID of the device to check.

Returns

bool
Outputs true if the device was previously disconnected.

Exceptions

An error has occurred during Devices Library execution.
public boolean isPreviouslyDisconnectedDevice(int deviceId) throws DevicesException

Parameters

deviceId int
in The ID of the device to check.

Returns

boolean
Outputs true if the device was previously disconnected.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesDeviceChannel_IsPreviouslyDisconnectedDevice (
    ID3_DEVICES_DEVICE_CHANNEL hDeviceChannel,
    int deviceId,
    bool * result)

Parameters

in Handle to the DeviceChannel object.

deviceId int
in The ID of the device to check.

result bool *
out Outputs true if the device was previously disconnected.

Returns

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