Condividi tramite


CLLocationManagerDelegate.RegionEntered(CLLocationManager, CLRegion) Metodo

Definizione

Chiamato quando il dispositivo entra in un'area monitorata.

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

Parametri

manager
CLLocationManager

Oggetto CLLocationManager per il quale this è l'oggetto delegato.

region
CLRegion

Area immessa.

Attributi

Si applica a