Class Veery.Pois

count()

Get the amount of POIs detected for the user.

Parameters

none

Returns

int representing the amount of POIs returned by the getPois function

Usage / Example

veery.getPois().count();

User interaction

none

See also

getPois

Get last known list of POIs for that user.

requestPoiUpdate

Request for a callback event when a new set of POIs is computed by the Veery Backend.

stopPoiUpdate

Cancel the call to requestPoiUpdate.

Pois.toArray

Return an array of Location object.

Pois.toGeoJSONArray

Return an array of GeoJSON (circles around the POIs).

Pois.count

Return the amount of POIs known.

Pois.getWeight

Return the percentage of time spent at the specified POI.

PoiUpdate.onPoiUpdate

Callback triggered every time a new set of POIs is computed by the Veery backend.