suspend 和 suspendAll 的区别

发布于 2024-11-04 08:20:12 字数 75 浏览 6 评论 0原文

SCORM 2004 第 3 版 ED 中的 suspend 和 suspendAll 有什么区别? 我可以在一次会话中暂停多项活动吗?

What is the difference between suspend and suspendAll in SCORM 2004 3rd ED?
Can I suspend more than one activity in one session?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

岁月染过的梦 2024-11-11 08:20:13

在 SCORM 2004 中,“暂停”某些内容表示您想要保留其状态。从概念上将其视为一个暂停按钮,一种停止并稍后返回同一位置的方法。

“Suspend”和“SuspendAll”用于两种不同的上下文。您现在可能已经知道,SCORM 运行时和 SCORM 排序书籍是独立但相关的。

“挂起”是运行时书籍中的一个概念(如果我正确地阅读并理解了你的问题)。将cmi.exit设置为挂起表示您想要为当前SCO保存这组运行时数据,以便当活动重新启动时数据仍然可用。

“SuspendAll”是测序书中的一个概念。它是一个导航请求,指示学习者想要暂停并退出整个活动树。当处理 suspendAll 导航请求时,活动树状态(排序数据)将被保留,并且当课程重新启动时,学习者将从当前活动恢复。

其他需要注意的事情:

suspendAll 与运行时数据的保存无关。如果您发出 suspendAll 导航请求,该请求本身不会保留当前活动的运行时数据。

为了进一步混淆问题,还有两种使用“挂起”一词的方式:

“挂起的活动”- 发出 suspendAll 导航请求时当前的活动。这是课程重新启动时将恢复的活动。

“暂停” - 每个活动的一个属性,指示它最后是否以暂停状态退出。

因此,回答你的第二个问题,在任何给定时间只能有一个“暂停的活动”,但许多活动可以“暂停”。

In SCORM 2004, "suspending" something indicates that you want to preserve it's state. Think of it conceptually as a pause button, a way to stop and come back to the same place later.

"Suspend" and "SuspendAll" are used in two different contexts. As you probably are aware by now, the SCORM run-time and SCORM sequencing books are separate but related.

"Suspend" is a concept from the run-time book (if I read and understand your question correctly). Setting cmi.exit to suspend indicates that you want to save this set of run-time data for the current SCO so that when the activity is relaunched the data will still be available.

"SuspendAll" is a concept from the sequencing book. It is a navigation request that indicates the learner wants to pause and exit the entire activity tree. When a suspendAll navigation request is processed, the activity tree state (the sequencing data) is preserved and when the course is relaunched, the learner will resume from the current activity.

Some other thing to note:

suspendAll is not related to the preservation of run-time data. If you issue a suspendAll navigation request, that won't in itself preserve the current activity's run-time data.

To confuse matters a bit further, there are two more ways the word "suspend" is used:

"The Suspended Activity" - The activity that was current when a suspendAll navigation request was issued. This is the activity that will be resumed when the course is relaunched.

"Suspended" - a property of every activity that indicates whether it was last exited in a suspended state.

So, to answer your second question, there can only be one "suspended activity" at any given time, but many activities can be "suspended".

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文