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