static T_DjiReturnCode DjiTestWidget_GetWidgetValueE_DjiWidgetType widgetType uint32_t index int32_t value void userData USER_UTIL_UNUSEDuserData;
This function takes in a widget type, an index, a pointer to an integer value, and a pointer to user data. The function retrieves the value of the widget specified by the index from a list of widget values and assigns it to the integer value pointer. The user data pointer is not used in this function.
The function returns a DJI return code, indicating whether the operation was successful or not. In this case, the function always returns DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS, indicating that the operation was successful
原文地址: https://www.cveoy.top/t/topic/hfLj 著作权归作者所有。请勿转载和采集!