summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Maps.MacOS.Extra/ApiDefinition.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Maps.MacOS.Extra/ApiDefinition.cs')
-rw-r--r--Xamarin.Forms.Maps.MacOS.Extra/ApiDefinition.cs33
1 files changed, 0 insertions, 33 deletions
diff --git a/Xamarin.Forms.Maps.MacOS.Extra/ApiDefinition.cs b/Xamarin.Forms.Maps.MacOS.Extra/ApiDefinition.cs
deleted file mode 100644
index c6a92d91..00000000
--- a/Xamarin.Forms.Maps.MacOS.Extra/ApiDefinition.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-using CoreLocation;
-using Foundation;
-
-namespace Xamarin.Forms.Maps.MacOS.Extra
-{
- delegate void CLGeocodeCompletionHandler(CLPlacemark[] placemarks, NSError error);
-
- [BaseType(typeof(NSObject))]
- interface CLGeocoder
- {
- [Export("isGeocoding")]
- bool Geocoding { get; }
-
- [Export("reverseGeocodeLocation:completionHandler:")]
- [Async]
- void ReverseGeocodeLocation(CLLocation location, CLGeocodeCompletionHandler completionHandler);
-
- [Export("geocodeAddressDictionary:completionHandler:")]
- [Async]
- void GeocodeAddress(NSDictionary addressDictionary, CLGeocodeCompletionHandler completionHandler);
-
- [Export("geocodeAddressString:completionHandler:")]
- [Async]
- void GeocodeAddress(string addressString, CLGeocodeCompletionHandler completionHandler);
-
- [Export("geocodeAddressString:inRegion:completionHandler:")]
- [Async]
- void GeocodeAddress(string addressString, CLRegion region, CLGeocodeCompletionHandler completionHandler);
-
- [Export("cancelGeocode")]
- void CancelGeocode();
- }
-}