DeviceParameter Class¶
Namespace: id3.Devices
Definition¶
class DeviceParameter
class DeviceParameter implements Finalizable
public partial class DeviceParameter
public class DeviceParameter implements AutoCloseable, Serializable
typedef struct id3DevicesDeviceParameter *ID3_DEVICES_DEVICE_PARAMETER;
Usage¶
deviceParameterInstance = DeviceParameter()
# ...
Explicit destruction
# ...
del deviceParameterInstance
final deviceParameterInstance = sdk.DeviceParameter();
// ...
Explicit destruction
// ...
deviceParameterInstance.dispose()
using (var deviceParameterInstance = new DeviceParameter())
{
// ...
}
Explicit destruction
var deviceParameterInstance = new DeviceParameter()
// ...
deviceParameterInstance.Dispose()
try (DeviceParameter deviceParameterInstance = new DeviceParameter()) {
// ...
}
Explicit destruction
DeviceParameter deviceParameterInstance = new DeviceParameter();
// ...
deviceParameterInstance.close();
ID3_DEVICES_DEVICE_PARAMETER hDeviceParameter{};
int err = id3DevicesDeviceParameter_Initialize(&hDeviceParameter);
if (err == ID3_SUCCESS) {
// ...
id3DevicesDeviceParameter_Dispose(&hDeviceParameter);
}
Properties¶
Name |
Type |
Description |
---|---|---|
bool |
A boolean flag indicating whether the parameter is managed automatically by the device or system, or if it requires manual configuration. |
|
string |
Stores the name of the parameter, serving as a unique identifier within the context of the device |
|
Indicates the data type of the parameter (e.g., integer, string, boolean), allowing applications to understand and appropriately handle the parameter’s value. |
||
int |
Represents the parameter’s value when the parameter type is an integer |
|
string |
Holds the parameter’s value for types that are best represented as strings, including textual configurations or numerical values requiring special formatting. |
Methods¶
Name |
Description |
---|---|
Resets the parameter’s state, clearing its name, type, and value |
|
(C++) Provides low-level access to the internal string representation of the parameter’s name. |