Поделиться через


CLLocationManagerDelegate.MonitoringFailed Метод

Определение

Сбой мониторинга region .

[Foundation.Export("locationManager:monitoringDidFailForRegion:withError:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void MonitoringFailed (CoreLocation.CLLocationManager manager, CoreLocation.CLRegion region, Foundation.NSError error);
[Foundation.Export("locationManager:monitoringDidFailForRegion:withError:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void MonitoringFailed (CoreLocation.CLLocationManager manager, CoreLocation.CLRegion region, Foundation.NSError error);
abstract member MonitoringFailed : CoreLocation.CLLocationManager * CoreLocation.CLRegion * Foundation.NSError -> unit
override this.MonitoringFailed : CoreLocation.CLLocationManager * CoreLocation.CLRegion * Foundation.NSError -> unit

Параметры

manager
CLLocationManager

Объект , CLLocationManager для которого this является объектом делегата.

region
CLRegion
error
NSError

Причина сбоя.

Атрибуты

Применяется к