Class

CLSActivityItem

An abstract base class for gathering information about an activity.

Declaration

@interface CLSActivityItem : CLSObject

Overview

You don’t typically use an instance of this class directly. Instead, use one of its subclasses to represent a particular activity metric. For example, use a CLSScoreItem to add a score to a CLSContextTypeQuiz activity.

Topics

Accessing Activity Item Information

identifier

An identifier for the activity item.

title

A human readable name for the activity item.

Relationships

Inherits From

See Also

Activity Items

Recording Additional Metrics About a Completed Task

Add an activity item to an activity to record additional information about a student’s attempt to complete a task.

CLSScoreItem

Activity information that signifies a score out of a possible maximum.

CLSBinaryItem

Activity information that is true or false, pass or fail, yes or no.

CLSQuantityItem

Activity information that signifies a quantity.