共用方式為


CLLocationManagerDelegate.DidStartMonitoringForRegion 方法

定義

監視開始于 region

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

參數

manager
CLLocationManager

thisCLLocationManager 其為委派物件。

region
CLRegion
屬性

適用於