DeviceManager.getDeviceLink Method¶
Module: DeviceManager
Definition¶
Retrieves the connection link for a specified device.
get_device_link(device_id: int) -> str
Parameters
device_idintin The device’s identifier.
Returns
strThe device’s connection link.
Exceptions
An error has occurred during Devices Library execution.
static String getDeviceLink(int deviceId)
Parameters
deviceIdintin The device’s identifier.
Returns
StringThe device’s connection link.
Exceptions
An error has occurred during Devices Library execution.
public static string GetDeviceLink(int deviceId)
Parameters
deviceIdintin The device’s identifier.
Returns
stringThe device’s connection link.
Exceptions
An error has occurred during Devices Library execution.
public static String getDeviceLink(int deviceId) throws DevicesException
Parameters
deviceIdintin The device’s identifier.
Returns
StringThe device’s connection link.
Exceptions
An error has occurred during Devices Library execution.
int id3DevicesDeviceManager_GetDeviceLink (
int deviceId,
char * link,
int * linkSize)
Parameters
deviceIdintin The device’s identifier.linkchar *out The device’s connection link.linkSizeint *in Size of the ‘link’ buffer. Receives the minimum required buffer size to hold the ‘link’ string if the given one is too small (including the terminating NULL character), otherwise receives the number of characters in ‘link’ (excluding terminating NULL character).
Returns