高德地图SDK(定位)  V2.12.2
AMapGeoFenceRegion Class Reference

#import <AMapGeoFenceRegionObj.h>

Inheritance diagram for AMapGeoFenceRegion:
AMapGeoFenceCircleRegion AMapGeoFenceDistrictRegion AMapGeoFencePolygonRegion AMapGeoFencePOIRegion

Properties

NSString * identifier
 
NSString * customID
 
AMapGeoFenceRegionStatus fenceStatus
 
AMapGeoFenceRegionType regionType
 
CLLocation * currentLocation
 

Detailed Description

地理围栏基类,不可直接使用。(since 2.3.0) Geofence base class, cannot be used directly. (since 2.3.0)

Property Documentation

◆ currentLocation

- (CLLocation*) currentLocation
readwritenonatomiccopy

缓存最近获取的定位信息,可能会存在延时,可为nil,会在获取定位时更新 Cache the most recently obtained location information, there may be delays, it can be nil, and it will be updated when obtaining the location.

◆ customID

- (NSString*) customID
readnonatomiccopy

用户自定义ID,可为nil。 User-defined ID, which can be nil.

◆ fenceStatus

- (AMapGeoFenceRegionStatus) fenceStatus
readwritenonatomicassign

坐标点和围栏的关系,比如用户的位置和围栏的关系 The relationship between coordinate points and fences, such as the relationship between a user's location and a fence

◆ identifier

- (NSString*) identifier
readnonatomiccopy

AMapGeoFenceRegion的唯一标识符 The unique identifier of AMapGeoFenceRegion

◆ regionType

- (AMapGeoFenceRegionType) regionType
readwritenonatomicassign

用户自定义ID,可为nil。 User-defined ID, which can be nil.


The documentation for this class was generated from the following file:
© 2017 高德信息技术有限公司 版权所有,保留所有权利。