PL SDK - Software Development Kit  5.4.0
API Reference
WPS_GeoFence Struct Reference

#include <wpsapi.h>

Collaboration diagram for WPS_GeoFence:
Collaboration graph

Public Attributes

unsigned size
 
double latitude
 
double longitude
 
unsigned radius
 
WPS_GeoFenceType type
 
unsigned long period
 

Detailed Description

Geofence.

Since
4.4

Member Data Documentation

◆ latitude

double WPS_GeoFence::latitude

The center of the geofence zone

◆ longitude

double WPS_GeoFence::longitude

◆ period

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).

◆ radius

unsigned WPS_GeoFence::radius

The radius of the geofence zone, in meters

◆ size

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);

◆ type

WPS_GeoFenceType WPS_GeoFence::type

The type of the geofence


The documentation for this struct was generated from the following file: