Unity xAPI Logger
Loading...
Searching...
No Matches
Static Public Member Functions
CerebrumLogger.ContextExtensionPresets Class Reference

Static Public Member Functions

static TinCan.Extensions FieldListOptionsCorrectOptionsExtension (Object[] fieldList, Object[] optionList, Object[] fieldOptionDictList)
 This function builds an extension object with field list, options, and correct options. Use this function for building an extension for a Drag & Drop activity start xCall.

 
static TinCan.Extensions FieldIdExtension (string field_id)
 This function builds an extension object with field id only. Use this function for building an extension for a Drag & Drop selection xCall.

 
static TinCan.Extensions OptionsCorrectOptionsExtension (Object[] optionList, Object[] fieldOptionDictList)
 This function builds an extension object given a list of available options and a list of the correct options. Use this function for building an extension for MCQ Questions and MCQ Questions with submit. In both cases the extension should be attached only to the corresponding "started" xCall only.
 
static TinCan.Extensions SetValueStartedExtension (Object[] valueList, Object[] correctValue)
 This function builds an extension object given a list of available values and a list of length 1 containing the correct value. Use this function for attaching an extension to the "started" xCall's context for a Set Value call.
 

Member Function Documentation

◆ FieldIdExtension()

static TinCan.Extensions CerebrumLogger.ContextExtensionPresets.FieldIdExtension ( string  field_id)
inlinestatic

This function builds an extension object with field id only. Use this function for building an extension for a Drag & Drop selection xCall.

Attach the extension with xCall.addExtensionToContext(Extension e)

Parameters
field_id
Returns
The Extension Object to be attached to an xCall.

◆ FieldListOptionsCorrectOptionsExtension()

static TinCan.Extensions CerebrumLogger.ContextExtensionPresets.FieldListOptionsCorrectOptionsExtension ( Object[]  fieldList,
Object[]  optionList,
Object[]  fieldOptionDictList 
)
inlinestatic

This function builds an extension object with field list, options, and correct options. Use this function for building an extension for a Drag & Drop activity start xCall.

Attach the extension with xCall.addExtensionToContext(Extension e)

Parameters
fieldList
optionList
fieldOptionDictList
Returns
The Extension Object to be attached to an xCall.

◆ OptionsCorrectOptionsExtension()

static TinCan.Extensions CerebrumLogger.ContextExtensionPresets.OptionsCorrectOptionsExtension ( Object[]  optionList,
Object[]  fieldOptionDictList 
)
inlinestatic

This function builds an extension object given a list of available options and a list of the correct options. Use this function for building an extension for MCQ Questions and MCQ Questions with submit. In both cases the extension should be attached only to the corresponding "started" xCall only.

Attach the extension with xCall.addExtensionToContext(Extension e)

Parameters
optionList
fieldOptionDictList
Returns
The Extension Object to be attached to an xCall.

◆ SetValueStartedExtension()

static TinCan.Extensions CerebrumLogger.ContextExtensionPresets.SetValueStartedExtension ( Object[]  valueList,
Object[]  correctValue 
)
inlinestatic

This function builds an extension object given a list of available values and a list of length 1 containing the correct value. Use this function for attaching an extension to the "started" xCall's context for a Set Value call.

Attach the extension with xCall.addExtensionToContext(Extension e)

Parameters
valueList
correctValue
Returns
The Extension Object to be attached to an xCall.

The documentation for this class was generated from the following file: