Compartilhar via


CLLocationManager.RequestState(CLRegion) Método

Definição

Solicita de forma assíncrona informações sobre o estado do 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

Parâmetros

region
CLRegion

A região cujo estado está sendo consultado.

Atributos

Comentários

Os desenvolvedores de aplicativos devem ter atribuído a Delegate propriedade a um objeto que implementa DidDetermineState(CLLocationManager, CLRegionState, CLRegion) antes de chamar esse método. O DidDetermineState(CLLocationManager, CLRegionState, CLRegion) método será chamado em algum momento posteriormente.

Aplica-se a