Share via


CLLocationManager.StartRangingBeacons(CLBeaconRegion) メソッド

定義

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

チェック対象のリージョン。

属性

注釈

このメソッドを呼び出す前に、アプリケーション開発者は メソッドと RangingBeaconsDidFailForRegion(CLLocationManager, CLBeaconRegion, NSError) メソッドをDelegate実装するオブジェクトにDidRangeBeacons(CLLocationManager, CLBeacon[], CLBeaconRegion)割り当てる必要があります。

適用対象