Newer Version Available
LearningEvaluation Class
Contains methods to retrieve and update details that are required to evaluate a
learning item.
Namespace
Usage
Pass this class as input to the sfdc_enablement.LearningEvaluationResult class.
Example
See example code in sfdc_enablement.LearningItemEvaluationHandler.
LearningEvaluation Methods
The following are methods for LearningEvaluation.
getLearningItemId()
Retrieves the record ID of the learning item that's associated with this learning
evaluation instance.
Signature
public String getLearningItemId()
Return Value
Type: String
setDetails(details)
Sets or updates the details of the learning item record for this learning evaluation
instance.
Signature
public void setDetails(Map<String,Object> details)
Parameters
- details
- Type: Map<String,Object>
- The details of the learning item record that you get by calling evaluateLearningItem API.
Return Value
Type: void
setLearningItemId(learningItemId)
Sets or updates the learning item record ID for this learning evaluation
instance.
Signature
public void setLearningItemId(String learningItemId)
Parameters
- learningItemId
- Type: String
Return Value
Type: void