Contents

Context

An area of your app that represents an assignable task, like a quiz or a chapter.

Declaration

object Context

Properties

NameTypeDescription
data RequiredContext.Data

The data that makes up the context. This is largely the same information that you provide to the ClassKit framework when you create a CLSContext instance.

metadata RequiredContext.Metadata

Information about the context, like the locale to which the context applies.

Mentioned in

Discussion

The contexts that you specify in your app as CLSContext instances correspond to the Context.Data object. The Context.Metadata object contains additional information about a context that’s implicit when working with ClassKit in your app.

Topics

Objects

See Also

Declaring Contexts