Constructors
constructor
- new TencentGeofence(latitude, longitude, radius, expiration, coordinateType?): TencentGeofence
Parameters
- latitude: number
- longitude: number
- radius: number
- expiration: number
Optional coordinateType: CoordinateType
Properties
latitude
latitude: number
longitude
longitude: number
radius
radius: number
expiration
expiration: number
coordinateType
Methods
toSystemGeofence
- toSystemGeofence(): Geofence
Returns Geofence
鸿蒙系统的 Geofence 对象
腾讯定位 SDK 地理围栏类,封装了圆形围栏的基本信息。
基于鸿蒙系统的 Geofence,支持 WGS84 和 GCJ-02 坐标系。
Author
Tencent Location Team
Since
1.0.2