org.jboss.errai.ui.cordova.geofencing
Class GeoFencingStandardProvider
java.lang.Object
org.jboss.errai.ui.cordova.geofencing.GeoFencingStandardProvider
- All Implemented Interfaces:
- GeoFencingProvider
public class GeoFencingStandardProvider
- extends Object
- implements GeoFencingProvider
GeoFencingProvider provides geo fencing events dependent on the Geofencing cordova plugin
- Author:
- edewit@redhat.com
- See Also:
- Cordova Geofencing Plugin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeoFencingStandardProvider
public GeoFencingStandardProvider()
addRegion
public void addRegion(Region region)
- Description copied from interface:
GeoFencingProvider
- Add a region that will be monitored to see if the user enters it.
- Specified by:
addRegion
in interface GeoFencingProvider
- Parameters:
region
- the region to monitor
removeRegion
public void removeRegion(Region region)
- Description copied from interface:
GeoFencingProvider
- Remove the monitored region.
- Specified by:
removeRegion
in interface GeoFencingProvider
- Parameters:
region
- region.
fireCdiEvent
protected void fireCdiEvent(int regionId)
setEventSource
public void setEventSource(javax.enterprise.event.Event<GeoFencingEvent> eventSource)
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.