Set the threshold levels of this category if they are valid.
Declared in <ball_category.h>
int
setLevels(
int recordLevel,
int passLevel,
int triggerLevel,
int triggerAllLevel);
Set the threshold levels of this category to the specified recordLevel, passLevel, triggerLevel, and triggerAllLevel values, respectively, if each of the specified values is in the range [0 .. 255]. Return 0 on success, and a non-zero value otherwise (with no effect on the threshold levels of this category).
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| recordLevel | record threshold level |
| passLevel | pass threshold level |
| triggerLevel | trigger threshold level |
| triggerAllLevel | trigger-all threshold level |