Compartilhar via


CLLocationManager.StartRangingBeacons(CLBeaconRegion) Método

Definição

Inicia a entrega de notificações sobre sinalizadores no region.

[Foundation.Export("startRangingBeaconsInRegion:")]
[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 StartRangingBeacons (CoreLocation.CLBeaconRegion region);
abstract member StartRangingBeacons : CoreLocation.CLBeaconRegion -> unit
override this.StartRangingBeacons : CoreLocation.CLBeaconRegion -> unit

Parâmetros

region
CLBeaconRegion

A região que está sendo verificada.

Atributos

Comentários

Antes de chamar esse método, os desenvolvedores de aplicativos devem atribuir a Delegate um objeto que implementa os DidRangeBeacons(CLLocationManager, CLBeacon[], CLBeaconRegion) métodos e RangingBeaconsDidFailForRegion(CLLocationManager, CLBeaconRegion, NSError) .

Aplica-se a