Condividi tramite


CLLocationManager.StartRangingBeacons(CLBeaconRegion) Metodo

Definizione

Avvia la distribuzione di notifiche sui beacon in 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

Parametri

region
CLBeaconRegion

Area selezionata.

Attributi

Commenti

Prima di chiamare questo metodo, gli sviluppatori di applicazioni devono assegnare a Delegate un oggetto che implementa i DidRangeBeacons(CLLocationManager, CLBeacon[], CLBeaconRegion) metodi e RangingBeaconsDidFailForRegion(CLLocationManager, CLBeaconRegion, NSError) .

Si applica a