Share via


CLLocationManager.RequestState(CLRegion) メソッド

定義

の状態に関する情報を非同期的に要求します 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

パラメーター

region
CLRegion

状態が照会されているリージョン。

属性

注釈

アプリケーション開発者は、このメソッドを Delegate 呼び出す前に を実装 DidDetermineState(CLLocationManager, CLRegionState, CLRegion) するオブジェクトに プロパティを割り当てる必要があります。 メソッドは DidDetermineState(CLLocationManager, CLRegionState, CLRegion) 、その後のある時点で呼び出されます。

適用対象