Edytuj

Udostępnij za pośrednictwem


CLProximity Enum

Definition

An enumeration whose values specify the physical proximity of an iBeacon.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum CLProximity
type CLProximity = 
Inheritance
CLProximity
Attributes

Fields

Name Value Description
Unknown 0

The distance to the iBeacon could not be estimated.

Immediate 1

The closest distance reported by an iBeacon.

Near 2

An intermediate distance reported by an iBeacon.

Far 3

The furthest distance reported by an iBeacon.

Remarks

The returned value of Proximity varies based on power output and the physical environment. It is difficult to translate these qualitative values into absolute physical distances.

Applies to

See also