共用方式為


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

thisCLLocationManager 其為委派物件。

region
CLRegion

左邊的區域。

屬性

適用於