Share via


CLLocationManager.StartRangingBeacons Method

Definition

Overloads

Name Description
StartRangingBeacons(CLBeaconIdentityConstraint)
StartRangingBeacons(CLBeaconRegion)

Starts delivering notifications about beacons in region.

StartRangingBeacons(CLBeaconIdentityConstraint)

[Foundation.Export("startRangingBeaconsSatisfyingConstraint:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void StartRangingBeacons(CoreLocation.CLBeaconIdentityConstraint constraint);
[<Foundation.Export("startRangingBeaconsSatisfyingConstraint:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member StartRangingBeacons : CoreLocation.CLBeaconIdentityConstraint -> unit
override this.StartRangingBeacons : CoreLocation.CLBeaconIdentityConstraint -> unit

Parameters

Attributes

Applies to

StartRangingBeacons(CLBeaconRegion)

Starts delivering notifications about beacons in region.

[Foundation.Export("startRangingBeaconsInRegion:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void StartRangingBeacons(CoreLocation.CLBeaconRegion region);
[<Foundation.Export("startRangingBeaconsInRegion:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member StartRangingBeacons : CoreLocation.CLBeaconRegion -> unit
override this.StartRangingBeacons : CoreLocation.CLBeaconRegion -> unit

Parameters

region
CLBeaconRegion

The region being checked.

Attributes

Remarks

Prior to calling this method, application developers must assign to Delegate an object that implements the DidRangeBeacons(CLLocationManager, CLBeacon[], CLBeaconRegion) and RangingBeaconsDidFailForRegion(CLLocationManager, CLBeaconRegion, NSError) methods.

Applies to