Context
An area of your app that represents an assignable task, like a quiz or a chapter.
Declaration
object ContextProperties
| Name | Type | Description |
|---|---|---|
data Required | Context.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 Required | Context.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.