Core.PerformInteraction: when in VR, the PerformInteraction is triggered by the command (NOT by the interaction choice) which cmdID coincides with the ChoiceID.
(*message_)[strings::msg_params][strings::vr_commands];
vr_msg_params[strings::app_id] = app->app_id();
+ vr_msg_params[strings::type] = hmi_apis::Common_VRCommandType::Command;
+
send_vr_ = true;
}
smart_objects::SmartType_Array);
msg_params[strings::vr_commands] =
(*choice_set)[strings::choice_set][j][strings::vr_commands];
+
+ msg_params[strings::type] = hmi_apis::Common_VRCommandType::Choice;
SendHMIRequest(hmi_apis::FunctionID::VR_AddCommand, &msg_params);
}
}
if (0 < app_id) {
msg_params[strings::app_id] = app_id;
}
+ msg_params[strings::type] = hmi_apis::Common_VRCommandType::Command;
+
(*vr_command)[strings::msg_params] = msg_params;
return vr_command;