Class MapServiceRequest<T>

Definition

Namespace:
Tizen.Maps
Assembly:
Tizen.Maps.dll
API Level:
3

Base class for a map service request.

C#
Copy
public abstract class MapServiceRequest<T> : IDisposable
Inheritance
System.Object
MapServiceRequest<T>
Derived
Implements
System.IDisposable

Methods

View Source

Dispose()

Releases all the resources used by this object.

Declaration
C#
Copy
public void Dispose()
API Level: 3
View Source

Dispose(Boolean)

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration
C#
Copy
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
Boolean disposing

If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed.

API Level: 3
View Source

Finalize()

Destroy the MapServiceRequest object.

Declaration
C#
Copy
protected void Finalize()
View Source

GetResponseAsync()

Sends a request to the map service provider.

Declaration
C#
Copy
public Task<IEnumerable<T>> GetResponseAsync()
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<T>>

Response from the map service provider.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the required feature is not supported.

UnauthorizedAccessException

Thrown when application does not have some privilege to access this method.

System.InvalidOperationException

Thrown when the result is invalid.

System.ArgumentException

Thrown when arguments are invalid.

API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/mapservicehttp://tizen.org/privilege/internethttp://tizen.org/privilege/network.get

Implements

System.IDisposable