|
PL SDK - Software Development Kit
5.4.0
API Reference
|
#include <wpsapi.h>

Public Attributes | |
| unsigned | size |
| double | latitude |
| double | longitude |
| unsigned | radius |
| WPS_GeoFenceType | type |
| unsigned long | period |
Geofence.
| double WPS_GeoFence::latitude |
The center of the geofence zone
| double WPS_GeoFence::longitude |
| unsigned long WPS_GeoFence::period |
The desired Wi-Fi period when the device is outside a WPS_GEOFENCE_ENTER geofence, or is inside a WPS_GEOFENCE_LEAVE geofence.
A value of 0 can be used if no preferred period is desired (for this geofence).
| unsigned WPS_GeoFence::radius |
The radius of the geofence zone, in meters
| unsigned WPS_GeoFence::size |
Store the size of \c WPS_GeoFence, and must be initialized
to \c sizeof(WPS_GeoFence).
\n
Used as a versioning mechanism.
\par Sample Code:
\code{.c}
WPS_GeoFence geofence; geofence.size = sizeof(WPS_GeoFence);
| WPS_GeoFenceType WPS_GeoFence::type |
The type of the geofence