简体   繁体   English

如何从使用tincan的程序包中获取诸如分数,正确答案之类的详细信息?

[英]How to get details such as score, correct answer from package running with tincan?

我有一个锡罐包装,可以用来玩游戏,我需要从包装中获取比分吗?

Generally you will not get the score from the package. 通常,您不会从包装中获得分数。 The content is most likely communicating with an LRS via xAPI and recording data via xAPI statements. 内容最有可能通过xAPI与LRS通信并通过xAPI语句记录数据。 You would then request the statements from the LRS via xAPI, parse the statements, and based on how the content records such data you would determine the statement containing the data you need and retrieve it from there. 然后,您将通过xAPI向LRS请求该语句,解析该语句,然后根据内容记录此类数据的方式,确定包含所需数据的语句并从那里检索它。 All of this is dependent on how that package is authored, the types of statements that are sent, and having access to the LRS where the data has been recorded. 所有这些都取决于该程序包的创作方式,所发送语句的类型以及是否可以访问已记录数据的LRS。 There are a number of libraries available to make communicating with an LRS via xAPI simpler. 有许多库可简化通过xAPI与LRS的通信。 See a list here: https://experienceapi.com/libraries 在此处查看列表: https//experienceapi.com/libraries

In general long term, cmi5 is a better package implementation specification that makes it more clear how to record typical LMS based e-learning content. 从长远来看,cmi5是一个更好的程序包实现规范,它使如何记录基于LMS的典型电子学习内容变得更加清晰。 In that specification it is clear how to locate a score provided by the content. 在该规范中,很清楚如何找到内容提供的分数。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM