Newer Version Available

This content describes an older version of this product. View Latest

LearningEvaluation Class

Contains methods to retrieve and update details that are required to evaluate a learning item.

Namespace

sfdc_enablement

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.

getDetails()

Retrieves the details associated with the learning evaluation instance.

Signature

public Map<String,Object> getDetails()

Return Value

Type: Map<String,Object>

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