Jump to: navigation, search

PushCriterionGeoRadius (Activity)


Adds a push criterion that restricts the push action to a circular geographical area on earth.


[edit]

Description

PushCriterionGeoRadius
Name PushCriterionGeoRadius
Purpose Restrict push action to geo circle
Category UBIK Push
Returns true if successful
Version 2.4.2+

Arguments

Argument Type Direction Purpose
Latitude Double In The Latitude of the center of the geographical circle
Longitude Double In The Longitude of the center of the geographical circle
Radius Double In The radius in meters around the center of the geographical circle
Result Boolean Out True if successful, false if an error occurred

Usage

Use this criterion to restrict the hosting push action only to clients or devices that are currently within a certain geographical circle. All other clients or devices will not be notified about the push update.

Example

This example will send the hosting push action only to clients that are currently in an area 100 meters around the Augmensys office in Linz:

Argument Value
Latitude 48.318833
Longitude 14.308758
Radius 100


See also