DeviceParameterDescriptor Class¶
Namespace: id3.Devices
Definition¶
class DeviceParameterDescriptor
class DeviceParameterDescriptor implements Finalizable
public partial class DeviceParameterDescriptor
public class DeviceParameterDescriptor implements AutoCloseable, Serializable
typedef struct id3DevicesDeviceParameterDescriptor *ID3_DEVICES_DEVICE_PARAMETER_DESCRIPTOR;
Usage¶
deviceParameterDescriptorInstance = DeviceParameterDescriptor()
# ...
Explicit destruction
# ...
del deviceParameterDescriptorInstance
final deviceParameterDescriptorInstance = sdk.DeviceParameterDescriptor();
// ...
Explicit destruction
// ...
deviceParameterDescriptorInstance.dispose()
using (var deviceParameterDescriptorInstance = new DeviceParameterDescriptor())
{
// ...
}
Explicit destruction
var deviceParameterDescriptorInstance = new DeviceParameterDescriptor()
// ...
deviceParameterDescriptorInstance.Dispose()
try (DeviceParameterDescriptor deviceParameterDescriptorInstance = new DeviceParameterDescriptor()) {
// ...
}
Explicit destruction
DeviceParameterDescriptor deviceParameterDescriptorInstance = new DeviceParameterDescriptor();
// ...
deviceParameterDescriptorInstance.close();
ID3_DEVICES_DEVICE_PARAMETER_DESCRIPTOR hDeviceParameterDescriptor{};
int err = id3DevicesDeviceParameterDescriptor_Initialize(&hDeviceParameterDescriptor);
if (err == ID3_SUCCESS) {
// ...
id3DevicesDeviceParameterDescriptor_Dispose(&hDeviceParameterDescriptor);
}
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 |
Classifies the parameter into a category, aiding in the organization and presentation of parameters, especially in user interfaces where parameters are grouped by functionality or context. |
|
int |
Specifies the default value for the parameter when its type is an integer |
|
Indicates whether the parameter is intended for manual configuration by the user (manual) or if it supports automatic management by the device or system (automatic). |
||
int |
A factor by which integer parameter values are multiplied, providing a mechanism to adjust the parameter’s scale |
|
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. |
||
Defines the allowable range of values for the parameter when its type is an integer |
||
Provides a list of permissible string values for the parameter when its type allows for selection from a predefined list |
||
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. |