DeviceCommandCallback Callback¶
Definition¶
(C++) Callback for executing commands directly on a device, facilitating device control.
typedef int (* id3DevicesDeviceCommandCallback) (
void * context,
const char * command,
void * arg,
void * result)
Parameters
context void *in The callback context.
command const char *in The command string to be processed by the device.
arg void *in Generic pointer to an argument, providing additional command context.
result void *in Generic pointer to a result space, for command execution outcomes.
Returns