Arc GISEnvironment
Provides access to and manipulation of environment settings, such as configurations for the operating environment and licenses for deployment.
Since
200.1.0
Properties
An API key is a unique key used to authorize access to specific services and resources in ArcGIS Online. It is also used to monitor access to those services.
The Context to be set by the user for use in creating View
types and accessing resources. When setting this property the underlying Context.applicationContext
will be used. Setting this property will also cause the application's package name to be appended to any TokenCredential.referer.
The ArcGISHttpClient used to make network requests. An ArcGISHttpClient is set by default, setting a new ArcGISHttpClient is only required if the ArcGISHttpClient needs to be customized, for example in order to intercept network requests, see ArcGISEnvironment.configureArcGISHttpClient.
Functions
Configures the ArcGISEnvironment
with a new ArcGISHttpClient. Configuring a new ArcGISHttpClient
should be done on application initialization, before any network requests may be invoked by the API or user code.
License an application for deployment using license info for named-user access. A license info instance can be obtained from a portal for the current logged in user. The license info instance is only valid for 30 days so the user will be required to log into the portal again when this expires.
License an application for deployment using an ESRI license string and one or more extension license strings.