- addressString
- Adress that you want to submit.
A task that represents the asynchronous GeocodeAddress operation. The value of the TResult parameter is a CoreLocation.CLGeocodeCompletionHandler.
C# Example
var addressString = "2 Park Plaza, Boston, MA, USA 02116";
var geocoder = new CLGeocoder();
var taskCoding = geocoder.GeocodeAddressAsync(addressString);
taskCoding.ContinueWith((addresses) => {
foreach(var address in addresses.Result)
{
Console.WriteLine(address);
}
});
The GeocodeAddressAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.
To be added.