RemoteResource Class

  • RemoteResource
  • class Esri::ArcGISRuntime::RemoteResource

    An interface adopted by classes that access remote network resources that have the potential to be secured. More...

    Header: #include <RemoteResource.h>
    Since: Esri::ArcGISRuntime 100.1
    Inherited By:

    Esri::ArcGISRuntime::AnnotationLayer, Esri::ArcGISRuntime::ArcGISMapImageLayer, Esri::ArcGISRuntime::ArcGISSceneLayer, Esri::ArcGISRuntime::ArcGISTiledElevationSource, Esri::ArcGISRuntime::ArcGISTiledLayer, Esri::ArcGISRuntime::ArcGISVectorTiledLayer, Esri::ArcGISRuntime::Basemap, Esri::ArcGISRuntime::BasemapStylesService, Esri::ArcGISRuntime::ClosestFacilityTask, Esri::ArcGISRuntime::DimensionLayer, Esri::ArcGISRuntime::DynamicEntityDataSource, Esri::ArcGISRuntime::ExportTileCacheTask, Esri::ArcGISRuntime::ExportVectorTilesTask, Esri::ArcGISRuntime::GeodatabaseSyncTask, Esri::ArcGISRuntime::GeoprocessingTask, Esri::ArcGISRuntime::ImageFrame, Esri::ArcGISRuntime::ImageServiceRaster, Esri::ArcGISRuntime::IntegratedMeshLayer, Esri::ArcGISRuntime::Job, Esri::ArcGISRuntime::KmlDataset, Esri::ArcGISRuntime::LocatorTask, Esri::ArcGISRuntime::ModelSceneSymbol, Esri::ArcGISRuntime::Ogc3dTilesLayer, Esri::ArcGISRuntime::OgcFeatureCollectionTable, Esri::ArcGISRuntime::OgcFeatureService, Esri::ArcGISRuntime::PictureFillSymbol, Esri::ArcGISRuntime::PictureFillSymbolLayer, Esri::ArcGISRuntime::PictureMarkerSymbol, Esri::ArcGISRuntime::PictureMarkerSymbolLayer, Esri::ArcGISRuntime::PointCloudLayer, Esri::ArcGISRuntime::Portal, Esri::ArcGISRuntime::RouteTask, Esri::ArcGISRuntime::ServiceAreaTask, Esri::ArcGISRuntime::ServiceFeatureTable, Esri::ArcGISRuntime::ServiceGeodatabase, Esri::ArcGISRuntime::ServiceImageTiledLayer, Esri::ArcGISRuntime::SymbolStyle, Esri::ArcGISRuntime::UtilityNetwork, Esri::ArcGISRuntime::WfsFeatureTable, Esri::ArcGISRuntime::WfsService, Esri::ArcGISRuntime::WmsLayer, Esri::ArcGISRuntime::WmsService, Esri::ArcGISRuntime::WmtsLayer, and Esri::ArcGISRuntime::WmtsService

    Public Functions

    virtual ~RemoteResource()
    virtual Esri::ArcGISRuntime::Credential *credential() const = 0
    virtual Esri::ArcGISRuntime::RequestConfiguration requestConfiguration() const = 0
    virtual void setRequestConfiguration(const Esri::ArcGISRuntime::RequestConfiguration &requestConfiguration) = 0
    virtual QUrl url() const = 0

    Detailed Description

    This interface adopted by classes whose objects need to access remote network resources, potentially in a secured manner. For example, a web service or a file on a web server that could require credentials to access.

    Member Function Documentation

    [virtual] RemoteResource::~RemoteResource()

    Destructor.

    [pure virtual] Esri::ArcGISRuntime::Credential *RemoteResource::credential() const

    Returns security credentials to access the remote resource. Only applicable if the resource is secured.

    This is the pure virtual version of this method. It should be implemented by classes that inherit from this interface.

    [pure virtual] Esri::ArcGISRuntime::RequestConfiguration RemoteResource::requestConfiguration() const

    Returns the RequestConfiguration used to customize the request to this RemoteResource.

    This is the pure virtual version of this method. It should be implemented by classes that inherit from this interface.

    See also setRequestConfiguration().

    [pure virtual] void RemoteResource::setRequestConfiguration(const Esri::ArcGISRuntime::RequestConfiguration &requestConfiguration)

    Sets the RequestConfiguration, which is used to customize the request to this RemoteResource, to requestConfiguration.

    This is the pure virtual version of this method. It should be implemented by classes that inherit from this interface.

    See also requestConfiguration().

    [pure virtual] QUrl RemoteResource::url() const

    Returns the URL of this RemoteResource.

    This is the pure virtual version of this method. It should be implemented by classes that inherit from this interface.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.