DeviceManager.checkDeviceModel Method

Module: DeviceManager

Definition

Verifies the existence of a specified device model within the system, providing a mechanism to determine if a device model is recognized and managed by the device manager.

check_device_model(model_name: str) -> bool

Parameters

model_name str
in The name of the device model to verify.

Returns

bool
Outputs the verification result
This parameter will contain true if the specified device model exists and is currently managed by the device manager, or false if the device model is not recognized.

Exceptions

An error has occurred during Devices Library execution.
static bool checkDeviceModel(String? modelName)

Parameters

modelName String
in The name of the device model to verify.

Returns

bool
Outputs the verification result
This parameter will contain true if the specified device model exists and is currently managed by the device manager, or false if the device model is not recognized.

Exceptions

An error has occurred during Devices Library execution.
public static bool CheckDeviceModel(string modelName)

Parameters

modelName string
in The name of the device model to verify.

Returns

bool
Outputs the verification result
This parameter will contain true if the specified device model exists and is currently managed by the device manager, or false if the device model is not recognized.

Exceptions

An error has occurred during Devices Library execution.
public static boolean checkDeviceModel(String modelName) throws DevicesException

Parameters

modelName String
in The name of the device model to verify.

Returns

boolean
Outputs the verification result
This parameter will contain true if the specified device model exists and is currently managed by the device manager, or false if the device model is not recognized.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesDeviceManager_CheckDeviceModel (
    const char * modelName,
    bool * result)

Parameters

modelName const char *
in The name of the device model to verify.

result bool *
out Outputs the verification result

Returns

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