Class

CLSActivityItem

An abstract base class for gathering information about an activity.

Declaration

class 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 CLSContextType.quiz activity.

Topics

Accessing Activity Item Information

var identifier: String

An identifier for the activity item.

var title: String

A human readable name for the activity item.

Relationships

Inherits From

Conforms To

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.

class CLSScoreItem

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

class CLSBinaryItem

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

class CLSQuantityItem

Activity information that signifies a quantity.