ArcGIS Runtime SDK for iOS: <AGSAPIKeyResource> Protocol Reference
ArcGIS Runtime SDK for iOS  100.11
<AGSAPIKeyResource> Protocol Reference

Description

An interface for getting and setting the API key of an object.

This interface will be used for getting and setting the API key generated from ArcGIS Developers dashboard on objects where required.

Since
100.10
Inheritance diagram for <AGSAPIKeyResource>:
AGSArcGISSceneLayer AGSArcGISTiledLayer AGSArcGISVectorTiledLayer AGSBasemap AGSClosestFacilityTask AGSExportTileCacheTask AGSExportVectorTilesTask AGSGeodatabaseSyncTask AGSLocatorTask AGSRouteTask AGSServiceAreaTask AGSServiceFeatureTable

Properties

NSString * APIKey
 

Property Documentation

◆ APIKey

- (NSString*) APIKey
readwriterequirednonatomiccopy

The API key to access API key enabled services and resources in ArcGIS Online.

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. An API key is created and managed in the ArcGIS developer dashboard and is tied to a specific ArcGIS account. Setting the API key on a specific AGSAPIKeyResource overrides the default key set on AGSArcGISRuntimeEnvironment::APIKey.

Since
100.10