# IGeofenceInterface.idl ## 概述 定义接口用于添加围栏,删除围栏,设置围栏回调函数等。 模块包路径:ohos.hdi.location.geofence.v1_0 引用: - ohos.hdi.location.geofence.v1_0.GeofenceTypes - ohos.hdi.location.geofence.v1_0.IGeofenceCallback **起始版本:** 3.2 **相关模块:**[HdiGeofence](_hdi_geofence.md) ## 汇总 ### 类 | 名称 | 描述 | | -------- | -------- | | interface  [IGeofenceInterface](interface_i_geofence_interface.md) | 定义接口用于添加围栏,删除围栏,设置围栏回调函数等。 |