
www.veear.eu
50
EasyVR 3
User Manual (1.0.11)
Parameters:
group
(0-16) is the target group, or one of the values in #Groups
index
(0-31) is the index of the command within the selected group
Return values:
true
if the operation is successful
bool removeCommand (int8_t
group
, int8_t
index
)
Removes a custom command from a group.
Parameters:
group
(0-16) is the target group, or one of the values in #Groups
index
(0-31) is the index of the command within the selected group
Return values:
true
if the operation is successful
bool setCommandLabel (int8_t
group
, int8_t
index
, const char *
name
)
Sets the name of a custom command.
Parameters:
group
(0-16) is the target group, or one of the values in #Groups
index
(0-31) is the index of the command within the selected group
name
is a string containing the label to be assigned to the specified command
Return values:
true
if the operation is successful
bool eraseCommand (int8_t
group
, int8_t
index
)
Erases the training data of a custom command.
Parameters:
group
(0-16) is the target group, or one of the values in #Groups
index
(0-31) is the index of the command within the selected group
Return values:
true
if the operation is successful
bool getGroupMask (uint32_t &
mask
)
Gets a bit mask of groups that contain at least one command.
Parameters:
mask
is a variable to hold the group mask when the function returns
Return values:
true
if the operation is successful
int8_t getCommandCount (int8_t
group
)
Gets the number of commands in the specified group.