Düzenle

Aracılığıyla paylaş


CLLocationManager.StartRangingBeacons(CLBeaconRegion) Method

Definition

Starts delivering notifications about beacons 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

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