編輯

共用方式為


CLBeaconRegion.GetPeripheralData(NSNumber) Method

Definition

Gets data for use with StartAdvertising(NSDictionary).

[Foundation.Export("peripheralDataWithMeasuredPower:")]
public virtual Foundation.NSMutableDictionary GetPeripheralData (Foundation.NSNumber measuredPower);
abstract member GetPeripheralData : Foundation.NSNumber -> Foundation.NSMutableDictionary
override this.GetPeripheralData : Foundation.NSNumber -> Foundation.NSMutableDictionary

Parameters

measuredPower
NSNumber

The measured RSSI (signal strength) of the device, in decibels at 1M. Developers should pass null to use the device's default value.

This parameter can be null.

Returns

The result can be passed to StartAdvertising(NSDictionary).

Attributes

Remarks

Retrieves the appropriate data required by StartAdvertising(NSDictionary).

Applies to