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.

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.