Interface ApiKeyResource

All Known Implementing Classes:
ArcGISSceneLayer, ArcGISTiledLayer, ArcGISVectorTiledLayer, Basemap, ClosestFacilityTask, ExportTileCacheTask, ExportVectorTilesTask, GeodatabaseSyncTask, LocatorTask, RouteTask, ServiceAreaTask, ServiceFeatureTable

public interface ApiKeyResource
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 website on objects where required.

Since:
100.10.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the API key to access API key enabled services and resources in ArcGIS Online.
    void
    setApiKey(String apiKey)
    Sets the API key to access API key enabled services and resources in ArcGIS Online.