Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 45 additions & 5 deletions src/corelocation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1250,6 +1250,10 @@ interface CLPlacemark : NSSecureCoding, NSCopying {
/// <para tool="nullallowed">This value can be <see langword="null" />.</para>
/// </value>
/// <remarks>To be added.</remarks>
[Deprecated (PlatformName.iOS, 26, 0, "Use 'MapKit' instead.")]
[Deprecated (PlatformName.MacCatalyst, 26, 0, "Use 'MapKit' instead.")]
[Deprecated (PlatformName.TvOS, 26, 0, "Use 'MapKit' instead.")]
[Deprecated (PlatformName.MacOSX, 26, 0, "Use 'MapKit' instead.")]
[NoTV]
[MacCatalyst (13, 1)]
[NullAllowed, Export ("postalAddress")]
Expand Down Expand Up @@ -1501,6 +1505,10 @@ partial interface CLBeacon : NSCopying, NSSecureCoding {
delegate void CLGeocodeCompletionHandler ([NullAllowed] CLPlacemark [] placemarks, [NullAllowed] NSError error);

/// <include file="../docs/api/CoreLocation/CLGeocoder.xml" path="/Documentation/Docs[@DocId='T:CoreLocation.CLGeocoder']/*" />
[Deprecated (PlatformName.iOS, 26, 0, "Use MapKit instead.")]
[Deprecated (PlatformName.MacCatalyst, 26, 0, "Use MapKit instead.")]
[Deprecated (PlatformName.TvOS, 26, 0, "Use MapKit instead.")]
[Deprecated (PlatformName.MacOSX, 26, 0, "Use MapKit instead.")]
[BaseType (typeof (NSObject))]
interface CLGeocoder {
/// <summary>Whether a geocoding request is currently being processed.</summary>
Expand All @@ -1515,6 +1523,10 @@ interface CLGeocoder {
/// <summary>Requests a longitude/latitude to a human address.</summary>
/// <remarks>
/// </remarks>
[Deprecated (PlatformName.iOS, 26, 0, "Use 'MKReverseGeocodingRequest' instead.")]
[Deprecated (PlatformName.MacCatalyst, 26, 0, "Use 'MKReverseGeocodingRequest' instead.")]
[Deprecated (PlatformName.TvOS, 26, 0, "Use 'MKReverseGeocodingRequest' instead.")]
[Deprecated (PlatformName.MacOSX, 26, 0, "Use 'MKReverseGeocodingRequest' instead.")]
[Export ("reverseGeocodeLocation:completionHandler:")]
[Async (XmlDocs = """
<param name="location">To be added.</param>
Expand All @@ -1534,6 +1546,10 @@ interface CLGeocoder {
/// <param name="completionHandler">To be added.</param>
/// <summary>To be added.</summary>
/// <remarks>To be added.</remarks>
[Deprecated (PlatformName.iOS, 26, 0, "Use 'MKReverseGeocodingRequest' instead.")]
[Deprecated (PlatformName.MacCatalyst, 26, 0, "Use 'MKReverseGeocodingRequest' instead.")]
[Deprecated (PlatformName.TvOS, 26, 0, "Use 'MKReverseGeocodingRequest' instead.")]
[Deprecated (PlatformName.MacOSX, 26, 0, "Use 'MKReverseGeocodingRequest' instead.")]
[MacCatalyst (13, 1)]
[Export ("reverseGeocodeLocation:preferredLocale:completionHandler:")]
[Async (XmlDocs = """
Expand All @@ -1550,10 +1566,10 @@ interface CLGeocoder {
/// <summary>Developers should not use this deprecated method. Developers should use 'GeocodeAddress (string, CLRegion, NSLocale, CLGeocodeCompletionHandler)' instead.</summary>
/// <remarks>
/// </remarks>
[Deprecated (PlatformName.iOS, 11, 0, message: "Use 'GeocodeAddress (string, CLRegion, NSLocale, CLGeocodeCompletionHandler)' instead.")]
[Deprecated (PlatformName.TvOS, 11, 0, message: "Use 'GeocodeAddress (string, CLRegion, NSLocale, CLGeocodeCompletionHandler)' instead.")]
[Deprecated (PlatformName.MacOSX, 10, 13, message: "Use 'GeocodeAddress (string, CLRegion, NSLocale, CLGeocodeCompletionHandler)' instead.")]
[Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'GeocodeAddress (string, CLRegion, NSLocale, CLGeocodeCompletionHandler)' instead.")]
[Deprecated (PlatformName.iOS, 26, 0, "Use 'MKGeocodingRequest' instead.")]
[Deprecated (PlatformName.MacCatalyst, 26, 0, "Use 'MKGeocodingRequest' instead.")]
[Deprecated (PlatformName.TvOS, 26, 0, "Use 'MKGeocodingRequest' instead.")]
[Deprecated (PlatformName.MacOSX, 26, 0, "Use 'MKGeocodingRequest' instead.")]
[Export ("geocodeAddressDictionary:completionHandler:")]
[Async (XmlDocs = """
<param name="addressDictionary">Addressbook dictionary to submit</param>
Expand All @@ -1570,6 +1586,10 @@ interface CLGeocoder {
/// <summary>Request a latitude/longitude location from a human readable address.</summary>
/// <remarks>
/// </remarks>
[Deprecated (PlatformName.iOS, 26, 0, "Use 'MKGeocodingRequest' instead.")]
[Deprecated (PlatformName.MacCatalyst, 26, 0, "Use 'MKGeocodingRequest' instead.")]
[Deprecated (PlatformName.TvOS, 26, 0, "Use 'MKGeocodingRequest' instead.")]
[Deprecated (PlatformName.MacOSX, 26, 0, "Use 'MKGeocodingRequest' instead.")]
[Export ("geocodeAddressString:completionHandler:")]
[Async (XmlDocs = """
<param name="addressString">To be added.</param>
Expand Down Expand Up @@ -1600,6 +1620,10 @@ interface CLGeocoder {
/// <param name="completionHandler">Method to invoke when the request completes.</param>
/// <summary>Request a latitude/longitude location from a human readable address and region.</summary>
/// <remarks>To be added.</remarks>
[Deprecated (PlatformName.iOS, 26, 0, "Use 'MKGeocodingRequest' instead.")]
[Deprecated (PlatformName.MacCatalyst, 26, 0, "Use 'MKGeocodingRequest' instead.")]
[Deprecated (PlatformName.TvOS, 26, 0, "Use 'MKGeocodingRequest' instead.")]
[Deprecated (PlatformName.MacOSX, 26, 0, "Use 'MKGeocodingRequest' instead.")]
[Export ("geocodeAddressString:inRegion:completionHandler:")]
[Async (XmlDocs = """
<param name="addressString">To be added.</param>
Expand All @@ -1622,6 +1646,10 @@ interface CLGeocoder {
/// <param name="completionHandler">To be added.</param>
/// <summary>To be added.</summary>
/// <remarks>To be added.</remarks>
[Deprecated (PlatformName.iOS, 26, 0, "Use 'MKGeocodingRequest' instead.")]
[Deprecated (PlatformName.MacCatalyst, 26, 0, "Use 'MKGeocodingRequest' instead.")]
[Deprecated (PlatformName.TvOS, 26, 0, "Use 'MKGeocodingRequest' instead.")]
[Deprecated (PlatformName.MacOSX, 26, 0, "Use 'MKGeocodingRequest' instead.")]
[MacCatalyst (13, 1)]
[Async (XmlDocs = """
<param name="addressString">To be added.</param>
Expand All @@ -1636,13 +1664,21 @@ interface CLGeocoder {

/// <summary>Cancels the geocoding attempt.</summary>
/// <remarks>To be added.</remarks>
[Deprecated (PlatformName.iOS, 26, 0, "Use 'MKGeocodingRequest' instead.")]
[Deprecated (PlatformName.MacCatalyst, 26, 0, "Use 'MKGeocodingRequest' instead.")]
[Deprecated (PlatformName.TvOS, 26, 0, "Use 'MKGeocodingRequest' instead.")]
[Deprecated (PlatformName.MacOSX, 26, 0, "Use 'MKGeocodingRequest' instead.")]
[Export ("cancelGeocode")]
void CancelGeocode ();

/// <param name="postalAddress">To be added.</param>
/// <param name="completionHandler">To be added.</param>
/// <summary>To be added.</summary>
/// <remarks>To be added.</remarks>
[Deprecated (PlatformName.iOS, 26, 0, "Use 'MKReverseGeocodingRequest' instead.")]
[Deprecated (PlatformName.MacCatalyst, 26, 0, "Use 'MKReverseGeocodingRequest' instead.")]
[Deprecated (PlatformName.TvOS, 26, 0, "Use 'MKReverseGeocodingRequest' instead.")]
[Deprecated (PlatformName.MacOSX, 26, 0, "Use 'MKReverseGeocodingRequest' instead.")]
[NoTV]
[MacCatalyst (13, 1)]
[Export ("geocodePostalAddress:completionHandler:")]
Expand All @@ -1667,6 +1703,10 @@ interface CLGeocoder {
/// <param name="completionHandler">To be added.</param>
/// <summary>To be added.</summary>
/// <remarks>To be added.</remarks>
[Deprecated (PlatformName.iOS, 26, 0, "Use 'MKReverseGeocodingRequest' instead.")]
[Deprecated (PlatformName.MacCatalyst, 26, 0, "Use 'MKReverseGeocodingRequest' instead.")]
[Deprecated (PlatformName.TvOS, 26, 0, "Use 'MKReverseGeocodingRequest' instead.")]
[Deprecated (PlatformName.MacOSX, 26, 0, "Use 'MKReverseGeocodingRequest' instead.")]
[NoTV]
[MacCatalyst (13, 1)]
[Export ("geocodePostalAddress:preferredLocale:completionHandler:")]
Expand Down Expand Up @@ -2041,7 +2081,7 @@ interface CLBackgroundActivitySessionDiagnostic {
}

[Native]
[TV (18, 0), NoMac, iOS (18, 0), MacCatalyst (18, 0)]
[TV (18, 0), Mac (26, 0), iOS (18, 0), MacCatalyst (18, 0)]
public enum CLServiceSessionAuthorizationRequirement : long {
None = 0,
WhenInUse = 1,
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading