CLLocationManager.StartRangingBeacons(CLBeaconRegion) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
開始傳遞 中 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
參數
- region
- CLBeaconRegion
正在檢查的區域。
- 屬性
備註
在呼叫此方法之前,應用程式開發人員必須指派給 Delegate 實作 DidRangeBeacons(CLLocationManager, CLBeacon[], CLBeaconRegion) 和 RangingBeaconsDidFailForRegion(CLLocationManager, CLBeaconRegion, NSError) 方法的物件。