Canvas Namespace
The Canvas namespace provides an interface and classes for canvas apps in Salesforce.
The following are the interfaces and classes in the Canvas namespace.
-
Use this interface to retrieve application context information, such as the application version or URL.
-
CanvasLifecycleHandler Interface
Implement this interface to control context information and add custom behavior during the application render phase.
-
Describes context data that can be excluded from canvas app context data. You specify which context types to exclude in the
excludeContextTypes()method in yourCanvasLifecycleHandlerimplementation. -
Use this interface to retrieve environment context information, such as the app display location or the configuration parameters.
-
A wrapper interface that is used to retrieve application and environment context information.
-
Contains methods for automated testing of your Canvas classes.
-
The
Canvasnamespace contains exception classes.
See Also