腾讯定位 SDK 地理围栏事件类,封装了鸿蒙系统的 GeofenceTransition。

Author

Tencent Location Team

Since

1.0.2

Constructors

Properties

Methods

Constructors

Properties

id: number

地理围栏 ID。

Since

1.0.2

地理围栏事件类型(ENTER、EXIT、DWELL)。

Since

1.0.2

Methods

  • 从鸿蒙系统的 GeofenceTransition 对象创建腾讯地理围栏事件。

    SDK 内部使用。

    Parameters

    • systemGeofenceTransition: GeofenceTransition

      鸿蒙系统的 GeofenceTransition 对象

    Returns TencentGeofenceEvent

    腾讯地理围栏事件对象

    Since

    1.0.2