Difference between revisions of "Activity:PushCriterionGeoFence (Activity)"
(Created page with "Adds a push criterion that restricts the push action to a geographical area on earth. <!-- DO NOT REMOVE THIS -->{{Template:Activity/Begin}}<!-- DO NOT REMOVE THIS --> = Des...") |
|||
Line 28: | Line 28: | ||
=Example= | =Example= | ||
+ | This example will send the hosting push action only to clients that are currently in a 4-sided polygon around the Techcenter building hosting the Augmensys office in Linz: | ||
+ | |||
+ | {| class="wikitable" | width = "50%" | ||
+ | |- | ||
+ | ! Argument!! Value | ||
+ | |- align="left" | ||
+ | | GeoCorners || <source lang="vbnet"> | ||
+ | New System.Collections.Generic.List(Of UBIK.Module.Push.PushService.GeoData) From _ | ||
+ | { _ | ||
+ | New UBIK.Module.Push.PushService.GeoData() With {.Lat = 48.318612, .Lon = 14.305827}, _ | ||
+ | New UBIK.Module.Push.PushService.GeoData() With {.Lat = 48.319295, .Lon = 14.308707}, _ | ||
+ | New UBIK.Module.Push.PushService.GeoData() With {.Lat = 48.318756, .Lon = 14.308980}, _ | ||
+ | New UBIK.Module.Push.PushService.GeoData() With {.Lat = 48.318093, .Lon = 14.306307} _ | ||
+ | } | ||
+ | </source> | ||
+ | |} | ||
<!-- DO NOT REMOVE THIS -->{{Template:Activity/End}}<!-- DO NOT REMOVE THIS --> | <!-- DO NOT REMOVE THIS -->{{Template:Activity/End}}<!-- DO NOT REMOVE THIS --> |
Latest revision as of 12:48, 30 March 2015
Adds a push criterion that restricts the push action to a geographical area on earth.