|
| DragDropQuestion (String learner_name, String learner_id, String verb_string) |
|
| xCall (String learner_name, String learner_id, String verb_string) |
| Simplest xCall instantiation that can exist includes only a learner name, id, and verb. We can add other elements to this xCall object using the methods of this class.
|
|
| xCall (String learner_name, String learner_id, String verb_string, String url) |
| Instantiation of xCall object where we want to specify a different URL.
|
|
void | SetActivity (String gameName) |
| Sets the TinCan activity to the specified game. A game name is the minimum information that must be passed to SetActivity.
|
|
void | SetActivity (String gameName, String stageName) |
| Sets the TinCan activity to the specified game at the specified stage.
|
|
void | SetActivity (String gameName, String stageName, String activityName) |
| Sets the TinCan activity to the specified game, stage, and activity name.
|
|
void | SetActivity (String gameName, String stageName, String activityName, String option) |
| Sets the TinCan activity to the specified game, stage, activity name, with specified option.
|
|
TinCan.Extensions | BuildExtensions (JObject jobj) |
| Constructs a TinCan.Extensions object from a JObject.
|
|
void | SetContext (TinCan.Extensions extensions) |
| Sets an xCall's context to a new context with the specified TinCan.Extensions object.
|
|
void | AddExtensionToContext (TinCan.Extensions extensions) |
| Adds the specified TinCan.Extensions object to the xCall's context.
|
|
void | AddExtensionToResult (TinCan.Extensions extensions) |
| Adds the specified TinCan.Extensions object to the xCall's result.
|
|
void | SetResult (bool success) |
| Sets the xCall result's success attribute.
|
|
void | SetResult (bool success, int max, int min, int raw) |
| Sets the xCall result's success. Also includes and sets max, min, and raw scores.
|
|
Statement | BuildStatement () |
| Turns an xCall object into a TinCan.Statement object. APIHandler.cs uses BuildStatement() with the specified xCall input to send an API call.
|
|