目录

CLASS info
public interface Geofence
Geofence interface

Constant Summary

TypeNameDesc
intENTER_GEOFENCE_CONVERSIONA user enters the geofence.
intEXIT_GEOFENCE_CONVERSIONA user exits the geofence.
intDWELL_GEOFENCE_CONVERSIONA user lingers in the geofence.
longGEOFENCE_NEVER_EXPIRENo timeout interval is configured for the geofence.

Public Method Summary

Return typeMethod name
StringgetUniqueId()

Constants

Constant
int ENTER_GEOFENCE_CONVERSION

A user enters the geofence.

Constant Value: 1

Constant
int EXIT_GEOFENCE_CONVERSION

A user exits the geofence.

 Constant Value: 2

Constant
int DWELL_GEOFENCE_CONVERSION

A user lingers in the geofence.

Constant Value: 4

Constant
long GEOFENCE_NEVER_EXPIRE

No timeout interval is configured for the geofence.

Constant Value: -1L

Public Methods

Method
public String getUniqueId()
This API is used to obtain the unique ID of a geofence.

Return

typedesc
StringUnique ID.