Errai 3.0.1-SNAPSHOT

org.jboss.errai.ui.cordova.geofencing
Class GeoFencingStandardProvider

java.lang.Object
  extended by 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

Nested Class Summary
static interface GeoFencingStandardProvider.Resources
           
 
Nested classes/interfaces inherited from interface org.jboss.errai.ui.cordova.geofencing.GeoFencingProvider
GeoFencingProvider.GeoFencingProviderProducer
 
Constructor Summary
GeoFencingStandardProvider()
           
 
Method Summary
 void addRegion(Region region)
          Add a region that will be monitored to see if the user enters it.
protected  void fireCdiEvent(int regionId)
           
 void removeRegion(Region region)
          Remove the monitored region.
 void setEventSource(javax.enterprise.event.Event<GeoFencingEvent> eventSource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoFencingStandardProvider

public GeoFencingStandardProvider()
Method Detail

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)

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.