MAA_AGENT_SERVER_API MaaBool MaaAgentServerRegisterCustomRecognition(const char *name, MaaCustomRecognitionCallback recognition, void *trans_arg)
MAA_AGENT_SERVER_API MaaBool MaaAgentServerRegisterCustomAction(const char *name, MaaCustomActionCallback action, void *trans_arg)
MAA_AGENT_SERVER_API void MaaAgentServerJoin()
MAA_AGENT_SERVER_API void MaaAgentServerShutDown()
MAA_AGENT_SERVER_API MaaBool MaaAgentServerStartUp(const char *identifier)
MAA_AGENT_SERVER_API void MaaAgentServerDetach()
uint8_t MaaBool
Definition MaaDef.h:18
MaaBool(MAA_CALL * MaaCustomActionCallback)(MaaContext *context, MaaTaskId task_id, const char *node_name, const char *custom_action_name, const char *custom_action_param, MaaRecoId reco_id, const MaaRect *box, void *trans_arg)
Definition MaaDef.h:295
MaaBool(MAA_CALL * MaaCustomRecognitionCallback)(MaaContext *context, MaaTaskId task_id, const char *node_name, const char *custom_recognition_name, const char *custom_recognition_param, const MaaImageBuffer *image, const MaaRect *roi, void *trans_arg, MaaRect *out_box, MaaStringBuffer *out_detail)
Definition MaaDef.h:283
#define MAA_AGENT_SERVER_API
Definition MaaPort.h:66