-
Notifications
You must be signed in to change notification settings - Fork 0
Practice Learing Service
Red One edited this page Feb 13, 2018
·
1 revision
-
Actor K answered question item X embedded in Video V (position T). answeredVideoPracticeQuestions(actor,objectID,interactionType,reDuration,reResponse,reSuccess,parentID,time);
-
Actor K answered question item Y embedded in eBook B (page P). answeredEBookPracticeQuestions(actor,objectID,interactionType,reDuration,reResponse,reSuccess,parentID,page);
-
Actor K read feedback/hint when answering quiz item X embedded in Video V. readVideoHints(actor,objectID,interactionType,hint,parentID);
-
Actor K read feedback/hint when answering quiz item X embedded in Book B. readEBookHints(actor,objectID,interactionType,hint,parentID);
- Description: Actor K answered question item X embedded in Video V (position T).
- Parameters:
| Name | Type | Description |
|---|---|---|
| actor | Agent Object | Person who answered the question |
| objectID | URL | Hyperlink of the question |
| interactionType | String | question type:see [interactions](https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md#interactionacts) |
| reDuration | ISO 8601 String | time spent on answering the question |
| reResponse | String | user's answer |
| reSuccess | Boolean | Correct or not |
| parentID | URL | Parent activity hyperlink of this question |
| time | ISO 8601 String | the video time point the question prompts |
var actor = visca.setActorByMbox("Crystal","crystal@visca.com");
var objectID = "http://visca.com/question/id/1";
var interactionType = "fill-in";
var reDuration = "PT20S";
var reResponse = "2[,]4";
var reSuccess = true;
var parentID = "https://www.youtube.com/watch?v=sQcwRGTW5mw";
var time = "PT1M";
visca.answeredVideoPracticeQuestions(actor,objectID,interactionType,reDuration,reResponse,reSuccess,parentID,time);- Description: Actor K answered question item Y embedded in eBook B (page P).
- Parameters:
| Name | Type | Description |
|---|---|---|
| actor | Agent Object | Person who answered the question |
| objectID | URL | the unique identifier for the question |
| interactionType | String | question type:see interactions |
| reDuration | ISO 8601 String | time spent on answering the question |
| reResponse | String | user's answer |
| reSuccess | Boolean | Correct or not |
| parentID | URL | ebook id(URL) |
| page | Integer | the page number that the question is located |
var actor = visca.setActorByMbox("Crystal","crystal@visca.com");
var objectID = "http://visca.com/question/id/3";
var interactionType = "true-false";
var reDuration = "PT20S";
var reResponse = "false";
var reSuccess = false;
var parentID = "http://visca.com/book/id/1";
var page = 8;
visca.answeredEBookPracticeQuestions(actor,objectID,interactionType,reDuration,reResponse,reSuccess,parentID,page);- Description: Actor K read feedback/hint when answering quiz item X embedded in Video V.
- Parameters:
| Name | Type | Description |
|---|---|---|
| actor | Agent Object | Person who read the feedback |
| objectID | URL | Hyperlink of the quiz |
| interactionType | String | Single choice quiz,for different quiz type, refer to [Interaction Activities](https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md#interactionacts) |
| hint | String/Activity Object/URL | Hint or feedback revealed |
| parentID | URL | Video parent ID |
var actor = visca.setActorByMbox("Crystal","crystal@visca.com");
var objectID = "http://visca.com/question/id/2";
var interactionType = "choice";
var hint = "Your hint!";
var parentID = "https://www.youtube.com/watch?v=sQcwRGTW5mw";
visca.readVideoHints(actor,objectID,interactionType,hint,parentID);- Description: Actor K read feedback/hint when answering quiz item X embedded in Book B.
- Parameters:
| Name | Type | Description |
|---|---|---|
| actor | Agent Object | Person who read the feedback |
| objectID | URL | Hyperlink of the quiz |
| interactionType | String | Single choice quiz,for different quiz type, refer to [Interaction Activities](https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md#interactionacts) |
| hint | String/Activity Object/URL | Hint or feedback revealed |
| parentID | URL | Parent EBook Activity |
var actor = visca.setActorByMbox("Crystal","crystal@visca.com");
var objectID = "http://visca.com/question/id/1";
var interactionType = "choice";
var hint = "Your hint!";
var parentID = "http://visca.com/book/id/1";
visca.readEBookHints(actor,objectID,interactionType,hint,parentID);