CLLocationManagerDelegate.RegionLeft(CLLocationManager, CLRegion) 方法

定义

当设备离开受监视区域时调用。

[Foundation.Export("locationManager:didExitRegion:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RegionLeft (CoreLocation.CLLocationManager manager, CoreLocation.CLRegion region);
[Foundation.Export("locationManager:didExitRegion:")]
[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 RegionLeft (CoreLocation.CLLocationManager manager, CoreLocation.CLRegion region);
abstract member RegionLeft : CoreLocation.CLLocationManager * CoreLocation.CLRegion -> unit
override this.RegionLeft : CoreLocation.CLLocationManager * CoreLocation.CLRegion -> unit

参数

manager
CLLocationManager

CLLocationManager为其this委托对象的 。

region
CLRegion

左侧区域。

属性

适用于