Package 

Interface MonitorNotifier


  • 
    public interface MonitorNotifier
    
                        

    This interface is implemented by classes that receive beacon monitoring notifications

    • Method Summary

      Modifier and Type Method Description
      abstract void didEnterRegion(Region region) Called when at least one beacon in a Region is visible.
      abstract void didExitRegion(Region region) Called when no beacons in a Region are visible.
      abstract void didDetermineStateForRegion(int state, Region region) Called with a state value of MonitorNotifier.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • didEnterRegion

         abstract void didEnterRegion(Region region)

        Called when at least one beacon in a Region is visible.

        Parameters:
        region - a Region that defines the criteria of beacons to look for
      • didExitRegion

         abstract void didExitRegion(Region region)

        Called when no beacons in a Region are visible.

        Parameters:
        region - a Region that defines the criteria of beacons to look for
      • didDetermineStateForRegion

         abstract void didDetermineStateForRegion(int state, Region region)

        Called with a state value of MonitorNotifier.INSIDE when at least one beacon in a Region is visible. Called with a state value of MonitorNotifier.OUTSIDE when no beacons in a Region are visible.

        Parameters:
        state - either MonitorNotifier.INSIDE or MonitorNotifier.
        region - a Region that defines the criteria of beacons to look for