Skip To Content ArcGIS for Developers Sign In Dashboard

RemoteResource Class

(Esri::ArcGISRuntime::RemoteResource)

Marker interface inherited by classes that can make network requests. More...

Public Functions

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

Detailed Description

Marker interface inherited by classes that can make network requests.

RemoteResource is an abstract, pure virtual base class.

Any class that inherits from this marker interface must have the ability to get a Credential object to handle any authentication that may be required by the network request, as well as a RequestConfiguration which allows for customizing the parameters used to make the network request. It must also support returning its URL, because network-enabled resources should have a URL from which it is requesting its content.

Member Function Documentation

[virtual] RemoteResource::~RemoteResource()

Destructor.

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

Returns the credential used to authenticate the user requesting this RemoteResource.

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

[pure virtual] 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 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.


Feedback on this topic?