編輯

共用方式為


CLRegionState Enum

Definition

An enumeration whose values specify whether the device is inside or outside a region or unknown.

[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 CLRegionState
type CLRegionState = 
Inheritance
CLRegionState
Attributes

Fields

Name Value Description
Unknown 0

The device's relation to the region could not be determined.

Inside 1

The device is inside the region.

Outside 2

The device is outside the region.

Applies to