CLLocationManager.RequestState(CLRegion) Method

Definition

Asynchronously requests information on the state of the region.

[Foundation.Export("requestStateForRegion:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RequestState (CoreLocation.CLRegion region);
abstract member RequestState : CoreLocation.CLRegion -> unit
override this.RequestState : CoreLocation.CLRegion -> unit

Parameters

region
CLRegion

The region whose state is being queried.

Attributes

Remarks

Application developers must have assigned the Delegate property to an object that implements DidDetermineState(CLLocationManager, CLRegionState, CLRegion) prior to calling this method. The DidDetermineState(CLLocationManager, CLRegionState, CLRegion) method will be called at some point subsequently.

Applies to