EnvironmentContext Interface
Use this interface to retrieve environment context information, such as the app display location or the configuration parameters.
The EnvironmentContext interface provides methods to retrieve environment information about the current canvas app. For this interface, you don’t need to create an implementation. Use the default implementation that Salesforce provides.