Class QuizFeedback

QuizFeedback

反馈的 Bean 实现,其中包含所有反馈通用的属性,例如显示文本或链接。

您可以为可评分的 Form 项添加反馈。

// Setting feedback which should be automatically shown when a user responds to a question
// incorrectly.
var textItem = form.addTextItem().setTitle('Re-hydrating dried fruit is an example of what?');
var feedback = FormApp.createFeedback()
  .setDisplayText(
      “Good answer, but not quite right.  Please review chapter 4 before next time.”)
  .addLink("http://wikipedia.com/osmosis");
textItem.setFeedbackForIncorrect(feedback);

方法

方法返回类型简介
getLinkUrls()String[]获取与反馈相关联的网址列表。
getText()String获取反馈的显示文本。

详细文档

getLinkUrls()

获取与反馈相关联的网址列表。这些链接以实用链接列表的形式向用户显示。

弃踢回攻

String[] - 与反馈相关联的网址列表


getText()

获取反馈的显示文本。此文本会在用户提交回复后向用户显示。

弃踢回攻

String - 反馈的文本