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
intin 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
intin 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
intin 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
intin 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
hDeviceChannel
ID3_DEVICES_DEVICE_CHANNELin Handle to the DeviceChannel object.deviceId
intin The ID of the device to check.result
bool *out Outputs true if the device was previously disconnected.
Returns