Context
type Context = object;
The base object that all contexts should extend.
The API specification allows this to be any object, but typically this is supposed to be a context data object adhering to the Context Data Specification.
This means that it must at least have a type
property that indicates what type of data it represents, e.g. 'fdc3.contact'
.
The type
property of context objects is important for certain FDC3 operations, like Channel.getCurrentContext
and DesktopAgent.addContextListener
, which allows you to filter contexts by their type.