}
int ma_assistant_info_foreach_assistants(ma_assistant_info_list_cb callback, void* user_data) {
+ if (0 != __ma_get_feature_enabled()) {
+ return MA_ERROR_NOT_SUPPORTED;
+ }
+
int res;
SLOG(LOG_DEBUG, TAG_MAC, "[Client DEBUG] get assistant info start");
if (NULL != callback) {
}
int ma_assistant_info_get_app_id(ma_assistant_info_h handle, char** app_id) {
+ if (0 != __ma_get_feature_enabled()) {
+ return MA_ERROR_NOT_SUPPORTED;
+ }
+
if (NULL == handle || NULL == app_id)
return MA_ERROR_INVALID_PARAMETER;
assistant_info_t* info = (assistant_info_t*)handle;
}
int ma_assistant_info_get_enabled_status(ma_assistant_info_h handle, bool* status) {
+ if (0 != __ma_get_feature_enabled()) {
+ return MA_ERROR_NOT_SUPPORTED;
+ }
+
if (NULL == handle || NULL == status)
return MA_ERROR_INVALID_PARAMETER;
}
int ma_assistant_info_get_name(ma_assistant_info_h handle, char** name) {
+ if (0 != __ma_get_feature_enabled()) {
+ return MA_ERROR_NOT_SUPPORTED;
+ }
+
if (NULL == handle || NULL == name)
return MA_ERROR_INVALID_PARAMETER;
assistant_info_t* info = (assistant_info_t*)handle;