[CoreLocation] Update framework to Xcode 12 beta 3. (#9281)

Fixes https://github.com/xamarin/maccore/issues/2259
This commit is contained in:
Manuel de la Pena 2020-08-07 16:25:55 -04:00 коммит произвёл GitHub
Родитель 9732d10b3b
Коммит 50931c6f56
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 9 добавлений и 36 удалений

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

@ -149,7 +149,7 @@ namespace CoreLocation {
[Field ("kCLLocationAccuracyThreeKilometers")]
double AccuracyThreeKilometers { get; }
[Watch (7, 0), TV (14, 0), Mac (10, 16), iOS (14, 0)]
[Watch (7, 0), TV (14, 0), Mac (11, 0), iOS (14, 0)]
[Field ("kCLLocationAccuracyReduced")]
double AccuracyReduced { get; }
@ -221,7 +221,7 @@ namespace CoreLocation {
[NoWatch][NoTV]
[Availability (Deprecated = Platform.iOS_6_0)]
[Deprecated (PlatformName.MacOSX, 10, 16, message : "Set the purpose using the NSLocationUsageDescription key in the Info.plist instead.")]
[Deprecated (PlatformName.MacOSX, 11, 0, message : "Set the purpose using the NSLocationUsageDescription key in the Info.plist instead.")]
// Default property value is null but it cannot be set to that value
// it crash when a null is provided
[NullAllowed, Export ("purpose")]
@ -287,12 +287,12 @@ namespace CoreLocation {
[Export ("stopMonitoringForRegion:")]
void StopMonitoring (CLRegion region);
[Watch (7, 0), TV (14, 0), Mac (10, 16), iOS (14, 0)]
[Watch (7, 0), TV (14, 0), Mac (11, 0), iOS (14, 0)]
[Export ("authorizationStatus")]
CLAuthorizationStatus AuthorizationStatus { get; }
[Deprecated (PlatformName.iOS, 14, 0, message: "Use the instance property 'AuthorizationStatus' instead.")]
[Deprecated (PlatformName.MacOSX, 10, 16, message: "Use the instance 'AuthorizationStatus' property instead.")]
[Deprecated (PlatformName.MacOSX, 11, 0, message: "Use the instance 'AuthorizationStatus' property instead.")]
[Deprecated (PlatformName.TvOS, 14, 0, message: "Use the instance property AuthorizationStatus' instead.")]
[Deprecated (PlatformName.WatchOS, 7, 0, message: "Use instance property 'AuthorizationStatus' instead.")]
[Export ("authorizationStatus")][Static]
@ -421,46 +421,19 @@ namespace CoreLocation {
[Export ("requestLocation")]
void RequestLocation ();
[Watch (7, 0), TV (14, 0), Mac (10, 16), iOS (14, 0)]
[Watch (7, 0), TV (14, 0), Mac (11, 0), iOS (14, 0)]
[Export ("accuracyAuthorization")]
CLAccuracyAuthorization AccuracyAuthorization { get; }
// Apple issue reported: https://github.com/xamarin/maccore/issues/2259
[Watch (7, 0), TV (14, 0), Mac (10, 16), iOS (14, 0)]
[Deprecated (PlatformName.WatchOS, 7, 0)]
[Deprecated (PlatformName.TvOS, 14, 0)]
[Deprecated (PlatformName.iOS, 14, 0)]
[Deprecated (PlatformName.MacOSX, 10, 16)]
[Export ("authorizedForPreciseLocation")]
bool AuthorizedForPreciseLocation { [Bind ("isAuthorizedForPreciseLocation")] get; }
[Async]
[Watch (7, 0), TV (14, 0), Mac (10, 16), iOS (14, 0)]
[Watch (7, 0), TV (14, 0), Mac (11, 0), iOS (14, 0)]
[Export ("requestTemporaryFullAccuracyAuthorizationWithPurposeKey:completion:")]
void RequestTemporaryFullAccuracyAuthorization (string purposeKey, [NullAllowed] Action<NSError> completion);
[Watch (7, 0), TV (14, 0), Mac (10, 16), iOS (14, 0)]
[Watch (7, 0), TV (14, 0), Mac (11, 0), iOS (14, 0)]
[Export ("requestTemporaryFullAccuracyAuthorizationWithPurposeKey:")]
void RequestTemporaryFullAccuracyAuthorization (string purposeKey);
// Apple issue reported: https://github.com/xamarin/maccore/issues/2259
[Async]
[Watch (7, 0), TV (14, 0), Mac (10, 16), iOS (14, 0)]
[Deprecated (PlatformName.WatchOS, 7, 0)]
[Deprecated (PlatformName.TvOS, 14, 0)]
[Deprecated (PlatformName.iOS, 14, 0)]
[Deprecated (PlatformName.MacOSX, 10, 16)]
[Export ("requestTemporaryPreciseLocationAuthorizationWithPurposeKey:completion:")]
void RequestTemporaryPreciseLocationAuthorization (string purposeKey, [NullAllowed] Action<NSError> completion);
// Apple issue reported: https://github.com/xamarin/maccore/issues/2259
[Watch (7, 0), TV (14, 0), Mac (10, 16), iOS (14, 0)]
[Deprecated (PlatformName.WatchOS, 7, 0)]
[Deprecated (PlatformName.TvOS, 14, 0)]
[Deprecated (PlatformName.iOS, 14, 0)]
[Deprecated (PlatformName.MacOSX, 10, 16)]
[Export ("requestTemporaryPreciseLocationAuthorizationWithPurposeKey:")]
void RequestTemporaryPreciseLocationAuthorization (string purposeKey);
}
[BaseType (typeof (NSObject))]
@ -540,7 +513,7 @@ namespace CoreLocation {
#endif
[Deprecated (PlatformName.iOS, 14, 0, message: "Use 'DidChangeAuthorization' instead.")]
[Deprecated (PlatformName.MacOSX, 10, 16, message: "Use 'DidChangeAuthorization' instead.")]
[Deprecated (PlatformName.MacOSX, 11, 0, message: "Use 'DidChangeAuthorization' instead.")]
[Deprecated (PlatformName.TvOS, 14, 0, message: "Use 'DidChangeAuthorization' instead.")]
[Deprecated (PlatformName.WatchOS, 7, 0, message: "Use 'DidChangeAuthorization' instead.")]
[Export ("locationManager:didChangeAuthorizationStatus:"), EventArgs ("CLAuthorizationChanged")]
@ -567,7 +540,7 @@ namespace CoreLocation {
[Export ("locationManager:didFinishDeferredUpdatesWithError:"), EventArgs ("NSError", true)]
void DeferredUpdatesFinished (CLLocationManager manager, [NullAllowed] NSError error);
[Watch (7, 0), TV (14, 0), Mac (10, 16), iOS (14, 0)]
[Watch (7, 0), TV (14, 0), Mac (11, 0), iOS (14, 0)]
[Export ("locationManagerDidChangeAuthorization:")]
void DidChangeAuthorization (CLLocationManager manager);