[CoreLocation] Fix misspelled field. Fixes #21641. (#21652)

Fixes https://github.com/xamarin/xamarin-macios/issues/21641.
This commit is contained in:
Rolf Bjarne Kvinge 2024-11-19 04:42:17 -08:00 коммит произвёл GitHub
Родитель 6bfececed5
Коммит 34666f5228
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
4 изменённых файлов: 8 добавлений и 3 удалений

Просмотреть файл

@ -204,7 +204,7 @@ locationManager.StartRangingBeacons(beaconRegion)
<term>The <see cref="P:CoreLocation.CLLocationManager.Delegate" /> property must be assigned to an object whose class implements the <see cref="M:CoreLocation.CLLocationManagerDelegate.LocationsUpdated(CoreLocation.CLLocationManager,CoreLocation.CLLocation[])" /> method.</term>
</item>
<item>
<term>The <see cref="P:CoreLocation.CLLocationManager.DesiredAccuracy" /> property must be set to <see cref="P:CoreLocation.CLLocation.AccuracyBest" /> or <see cref="P:CoreLocation.CLLocation.AccurracyBestForNavigation" />.</term>
<term>The <see cref="P:CoreLocation.CLLocationManager.DesiredAccuracy" /> property must be set to <see cref="P:CoreLocation.CLLocation.AccuracyBest" /> or <see cref="P:CoreLocation.CLLocation.AccuracyBestForNavigation" />.</term>
</item>
</list>
<para>If those conditions are satisfied, the application can request deferred delivery when backgrounded by calling the <see cref="M:CoreLocation.CLLocationManager.AllowDeferredLocationUpdatesUntil(System.Double,System.Double)" /> method.</para>

Просмотреть файл

@ -194,8 +194,14 @@ namespace CoreLocation {
[Field ("kCLErrorUserInfoAlternateRegionKey")]
NSString ErrorUserInfoAlternateRegionKey { get; }
#if !XAMCORE_5_0
[Obsolete ("Use 'AccuracyBestForNavigation' instead.")]
[Field ("kCLLocationAccuracyBestForNavigation")]
double AccurracyBestForNavigation { get; }
#endif
[Field ("kCLLocationAccuracyBestForNavigation")]
double AccuracyBestForNavigation { get; }
[Field ("kCLLocationAccuracyBest")]
double AccuracyBest { get; }

Просмотреть файл

@ -56747,7 +56747,7 @@ P:CoreLocation.CLLocation.AccuracyKilometer
P:CoreLocation.CLLocation.AccuracyNearestTenMeters
P:CoreLocation.CLLocation.AccuracyReduced
P:CoreLocation.CLLocation.AccuracyThreeKilometers
P:CoreLocation.CLLocation.AccurracyBestForNavigation
P:CoreLocation.CLLocation.AccuracyBestForNavigation
P:CoreLocation.CLLocation.Altitude
P:CoreLocation.CLLocation.Coordinate
P:CoreLocation.CLLocation.Course

Просмотреть файл

@ -72,7 +72,6 @@ namespace Introspection {
HashSet<string> allowed = new HashSet<string> () {
"Aac",
"Accurracy",
"Achivements",
"Acos",
"Acosh",