DeviceManager.getDeviceType Method¶
Module: DeviceManager
Definition¶
Retrieves the type for a specified device.
get_device_type(device_id: int) -> DeviceType
Parameters
device_id
intin The device’s identifier.
Returns
The device’s type.
Exceptions
An error has occurred during Devices Library execution.
static int getDeviceType(int deviceId)
Parameters
deviceId
intin The device’s identifier.
Returns
int
The device’s type.
Exceptions
An error has occurred during Devices Library execution.
public static DeviceType GetDeviceType(int deviceId)
Parameters
deviceId
intin The device’s identifier.
Returns
The device’s type.
Exceptions
An error has occurred during Devices Library execution.
public static int getDeviceType(int deviceId) throws DevicesException
Parameters
deviceId
intin The device’s identifier.
Returns
The device’s type.
Exceptions
An error has occurred during Devices Library execution.
int id3DevicesDeviceManager_GetDeviceType (
int deviceId,
id3DevicesDeviceType * eDeviceType)
Parameters
Returns