Enumeration

CLSContextType

The kinds of assignable content a context can contain.

Declaration

typedef enum CLSContextType : NSInteger {
    ...
} CLSContextType;

Overview

When you initialize a new context with initWithType:identifier:title:, you specify its type to provide an indication of how your content is structured. The type doesn’t affect the context’s behavior, but it does provide an important indicator to teachers trying to understand your app’s content.

Topics

Context Types

CLSContextTypeApp

An app context.

CLSContextTypeAudio

An audio context.

CLSContextTypeBook

A book context.

CLSContextTypeChallenge

A challenge context.

CLSContextTypeChapter

A chapter context.

CLSContextTypeDocument

A document context.

CLSContextTypeExercise

An exercise context.

CLSContextTypeGame

A game context.

CLSContextTypeLesson

A lesson context.

CLSContextTypeLevel

A level context.

CLSContextTypeNone

No type is assigned.

CLSContextTypePage

A page context.

CLSContextTypeQuiz

A quiz context.

CLSContextTypeSection

A section context.

CLSContextTypeTask

A task context.

CLSContextTypeVideo

A video context.

See Also

Configuring a Context

title

The name of the context as it appears to users.

identifier

A string that uniquely identifies a context among its siblings.

type

The kind of content a context represents.